Hello all I have a trouble with the simple list and form widgets setup into the portal page designer.

Mauro3
Kilo Contributor

the simple list shows me the right list of records an when I click on a record the form widget shows me the entire record to be edited good but.

what I need to view is the same that I can see using the open in platform option as default

find_real_file.png

that shows me the right format of the form I also found that only admin has this option enabled loggin with a standard user it disappear.

Thank in advance

Mauro Dominutti

10 REPLIES 10

michaelskae
ServiceNow Employee
ServiceNow Employee

Hi Mauro,


As you say, the "Open in Platform" option is for Admin users only - rather than being a specific functionality for end users, it provides the Admin user to jump to the standard UI if they need to configure something that you can't normally do in Service Portal.



I can't really think of a business case why the end user would load the Service Portal but then jump to the standard UI. An end user will have a limited role so they can do only what they can in the SP - if they have permissions to edit the form then they can save it.



If the form does not have all the required fields then you can either update the view you are using in the standard UI, or change the view in Service Portal - edit the View parameter in the URL, e.g. to go from the "service portal" view to the default view, change &view=sp to &view=.



The Admin will configure what the end user can see and edit so that the end user would not need to navigate away from Service Portal.



Can you let me know what you want the end users to be able to do?



Mike


Mauro3
Kilo Contributor

Ok,


I built an application into the platform, one of the thousands of travel expenses that probably all of us has built for his/her company.


The application works good if a user login into the standard platform and the modules have some scripts, and works with roles to display only part of the data to the users having the right role to view. Some set of data (example: financial office to check if the max of the expense has been exceeded) are hidden to the standards users.


Using the portal to show to the user his list of expenses (simple list widget), and clicking on one of selected lines I need to open the application form in order to let the user able to manipulate his expense, an so on.


But using the Form widget I get an unformatted form with all fields displayed as for the platform forgot to apply any rule, check any role, and any formatting


I can put in the portal a simple link to the list to switch to the platform application, it works, but is not useful.



Ciao


Mauro


michaelskae
ServiceNow Employee
ServiceNow Employee

Hi Mauro,



It sounds like you have an issue with your scripts which are not running on Service Portal. Rather than pushing users back to the standard UI, we should look at what is not working for you on Service Portal.



The Service Portal is considered a mobile interface, and so scripts need to be configured in a different way:



Mobile platform migration impacts



For example, if you have a client script that checks the user role and then hides certain form fields, then make sure your script is supported on mobile:



Supported and unsupported client scripts



It sounds like you have a custom table so review any customisations in turn to work out which is not working.


Mike


Mauro3
Kilo Contributor

You are right, I built the application only for Desktop "unflagging" the flag create mobile app when creating the module, and for that modulre I wrote some client scripts to hide buttons and some field when necessary, If the Portal in the form widget shows the mobile app, so there is not a mobile module, and then the form shows me all the fields of the record.



Then the answer should be: Build a mobile module and it works...



Thanks


Mauro