need aleternative for 'This.Now' function as it is only working on portal not on backend for catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 11:50 AM
Hi All,
I have been looking to find an alternate function for 'this.NOW.' as this is only working on portal not On backend.
Since, This is used in most of the client scripts in catalog item it is very difficult to rewrite all of them. Hence, I am looking to find an alternate function which I can replace it with and which works on both(front and back end).
Any suggestions will be helpful,
Thank you in Advance!
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 07:56 PM
Hi,
where are you using this?
can you share an example?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 06:07 AM
Yes! Below is the example
if (this.NOW.projectedCostEstimate)
projCostEst = parseFloat(this.NOW.projectedCostEstimate);
similar to above condition it is been used in various client scripts