Need to change Date format of Purchased date field in SAM Workspace guided setup view

Vineesha
Tera Expert

I have a requirement to change the date format of purchase date from YYYY-MM-DD to MM/DD/YYYY in Software asset workspace guided set up.

On the form of software entitlement & stand view its in MM/DD/YYYY format.

I can populate the date in required format(MM/DD/YYYY) but when every i tried to change the change its reverting back to YYYY-MM-DD.(using client script, Script include)

 

Please find below screen shots.

Vineesha_1-1665654008328.png

 

Vineesha_2-1665654023784.png

 

 

Vineesha_0-1665653959720.png

 

1 ACCEPTED SOLUTION

Have submitted the Support Ticket and the issue got solved 

below is the proposed Solution from ServiceNow

FYI

Navigate to 'UI Builder' under Now Experience Framework.

  1. Select 'Software Asset Workspace' in the UI Builder
  2. Select 'Playbook' from the drop-down list of pages.

---------------------------------------------------

Steps to fix the issue:

  1. Once on the 'Playbook' page, change the application scope to 'Software Asset workspace' to make the page editable.
  2. Select playbook component
  3. Once selected, navigate to the 'User session' property on the right and update it to '@context.session.user'
  4. Save the page.

View solution in original post

4 REPLIES 4

Omeir Yusuf
ServiceNow Employee
ServiceNow Employee

Hello,

 

This occurs because YYYY-MM-DD is the default format selected in the system properties. Any change made to this property is global and may not be desirable, however it is possible by having an Admin visit System Properties > System. 

 

If you wish only to personalize the format without having a global impact, you can do so by navigating to All > Self-Service > My Profile, and selecting the desired option under 'Date format'.

Vineesha
Tera Expert

Thanks for your response,  in system properties we have required format and for entire instance its in MM/DD/YYYY format, but problem is only with Asset workspace in Guided Setup View. 

 

Omeir Yusuf
ServiceNow Employee
ServiceNow Employee

Thanks for the clarity. I understand the challenge now. My recommendation is to submit a support ticket for additional guidance as I'm unable to find where to amend the date format within the Workspace. Sorry I could not help further.

Have submitted the Support Ticket and the issue got solved 

below is the proposed Solution from ServiceNow

FYI

Navigate to 'UI Builder' under Now Experience Framework.

  1. Select 'Software Asset Workspace' in the UI Builder
  2. Select 'Playbook' from the drop-down list of pages.

---------------------------------------------------

Steps to fix the issue:

  1. Once on the 'Playbook' page, change the application scope to 'Software Asset workspace' to make the page editable.
  2. Select playbook component
  3. Once selected, navigate to the 'User session' property on the right and update it to '@context.session.user'
  4. Save the page.