How to show links in walk-up closed message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 03:31 AM - edited 07-11-2023 03:34 AM
I want to show some links in walk-up portal when walk-up location is closed.
like below
We are closed at this moment.
Please visit www.example.comfor more information'
Thank you!
- Labels:
-
Walk-Up Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 04:07 AM
You will need to modify the Walk-up Schedule widget if you would like to do this.
I would look to add the link somewhere here.
You will need to clone the widgets though as they are base platform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 11:32 PM - edited 07-11-2023 11:45 PM
Hello @Michael Leone ,
I have changed the field type of closed message field in walk-up location to html and written content on it.
It is showing html tags along with content. How can I remove those html tags. Any help on this appreciated.
Thank you!
Field which I changed to html type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 03:48 AM - edited 07-12-2023 03:53 AM
Hey Kishor,
It isn't that simple i'm affraid. You are going to need to follow the below steps. Please note this will involve cloning the OoTB Wiget and replacing it with a custom widget. This may impact upgrades and you will need to take care when upgrading to make sure you merge changes that may arise.
- The first step is to ensure you are in the Walk Up Experience Scope as the below widgets and pages reside in this scope.
- Clone the out of the box Walk Up Widget by going to be the below link.
https://<instancename>.service-now.com/now/nav/ui/classic/params/target/sp_widget.do%3Fsys_id%3D6b534ecf23030300c6bf121727bf654b - Give it a name and ID and then add the custom code in where you would like it to display. For the purposes of this exercise i have put it to display when the away section is active. If you want it where the Closed message would appear just put it further down under c.data.closedMessage.
- Once you have made your custom widget you will need to Clone the Walk-Up Check-in widget to use your new Custom Schedule widget. You can do this by navigating to the below link.
https://<instance-name>.service-now.com/now/nav/ui/classic/params/target/sp_widget.do%3Fsys_id%3Dca7d3c813b3a03001d132c2b54efc4bf
Click Clone Widget and give give it a new name and ID. I just added -custom at the end. - Once you have done the above scroll down to the Client Controller Section and go to Line 43. Should look like the below.
- Change the highlighted text above to your new custom widget. In my case i just added -custom at the end of it.
- Once you have done that you will need to navigate to the portal page and update the old widget to the new widget. To start click the below link.
https://<instance-name>.service-now.com/sp_config?id=page_edit&p=walkup_check_in&table=sp_instance&s... - When the page loads click Instance 1 before Walk up Check In.
- Scroll right to the bottom and where it says widget change it to your new custom widget and click save.
That's all there is to it. If you follow the steps correctly your Walk-up Experience should display the custom HTML.
If this has helped you please mark this as correct and give me a thumbs up. 🙂
Thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 07:17 AM
Hi @Michael Leone I followed every step you mentioned and developed accordingly still getting html tags along with content.
For your info: I changed closed message field of type string to html in walk-up location form.
Because I need to show some custom links when walk up schedule closed.