Now mobile app: Hide Submit button

Dana2
Tera Expert

Hi,

 

Any ideas on how to hide or disable the Submit/Order button? Is it possible event?

 

Thanks,

Dana

11 REPLIES 11

peter_repan
Tera Guru

since the catalog item page with submit button is a Service Portal page, you need to modify the SC Catalog Item widget and hide the button in widget code. 

For example you can pass value from client controller c.data.hideButton = cabrillo.isNative(); 

and in HTML template use something like ng-hide=c.data.hideButton

But you will have to clone widget and replace it in the mesp_sc_cat_item page to make it working.

Hi Peter,

 

Unfortunately, this is not going to work on account that everything mesp related is protected.

Even tried routing the me_sc_cat_item page to a new page containing the widget with hidden Submit button.

 

Thanks for your input,

Dana

I was able to use Page Route Maps and route user to correct page. 

Hi Peter,

 

Could you share how you were able to achieve this? I am getting errors when trying to do it.

I tried routing from sc_cat_item and me_sc_cat_item to my custom page.

 

Thanks,

Dana

 

find_real_file.png

Peter de Bock1
Mega Guru

Hi Dana and all others,

 

 

Hiding the "Submit" button seems to be no longer needed 🙂

About Content items : previously these items were not supported on Now Mobile, though it does work now in Paris! 🙂

Just change the following property: glide.sc.mobile.item_class_not_supported

Remove "sc_cat_item_content" out of it.

Below how it looks in the Now Mobile app. Adding a link to another internal application or site does work well too. I also tested to have a KB article in it which worked fine too.

 

Please mark helpfull when it does 😉

regards, Peter

 

find_real_file.png

 

Something else: Making Catalog items or Content items available for Portal and not for Now Mobile can be done too.

 Just changed both below properties and now "Desktop Only" catalog & content items are not appearing any longer.

find_real_file.png

find_real_file.png