who can i ask for access to amend the walkup experience application ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 04:00 AM
i plan to add a field to lookup user asset in the interaction form
how can i ask to remove the restriction ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 04:04 AM
Hi @chercm
Have a look here
https://www.servicenow.com/community/itsm-forum/how-to-customize-walk-up-experience/td-p/630819
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 05:42 AM - edited 12-12-2023 05:56 AM
@Dr Atul G- LNG that is not what i was referring to . i created a user_asset field in reference to alm_hardware table and i want to display all the user asset when the interaction form loads
and i ask chatgpt and it given me below but it is not working
To create a field on a ServiceNow Walk-up Interaction form that looks up user assets from the alm_hardware table based on the opened_by field, you can use a combination of reference fields, client scripts, and possibly a Script Include for server-side processing. Below are the steps to achieve this:
1. Create a Reference Field on Walk-up Interaction Table:
- Navigate to ServiceNow Studio > Tables.
- Open the Walk-up Interaction table.
- Create a new reference field, let's call it user_asset.
- Set the Reference field to reference the alm_hardware table.
- Configure the Reference Qualifier if necessary to filter assets based on the opened_by field.
2. Create a Client Script:
- Navigate to ServiceNow Studio > Scripts - Client Scripts.
- Create a new Client Script and name it something like WalkupInteractionClientScript.
- In the script, use the onLoad function to trigger the lookup when the form loads:
3. Create a Server-Side Script Include:
- Navigate to ServiceNow Studio > Scripts - Script Includes.
- Create a new Script Include and name it something like YourScriptIncludeName.
- In the script include, create a function to process the server-side request:
4. Add Client Script to the Form Layout:
- Go to ServiceNow Studio > Forms.
- Open the Walk-up Interaction form.
- Add the WalkupInteractionClientScript to the form layout.
5. Test the Walk-up Interaction Form:
- Create or open a Walk-up Interaction record.
- Select a user in the opened_by field.
- The user_asset field should automatically populate with the assets associated with the selected user