difference behaviour b/w platform and in portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 12:06 AM
Hi Team ,
There is a difference behavior between Portal and Platform end .
We have catalog called Lost/stolen device . In that based on device Type - Short description is populating .
For example : If i choose device type is 'Laptop' >> In short description field populating like this i.e [ Lost/Stolen Laptop reported By requestor for name ]
For this i have written client script ;
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var reqFor = g_form.getDisplayValue('requested_for');
var newvall = g_form.getDisplayValue('device_type'); //replace with the backend name of device type field
//g_form.setValue('short_description_1', newvall +' '+ ": Device Type " + ' ' + " Reported By " + reqFor);
g_form.setValue('short_description_1', "Lost/Stolen " + newvall + ' ' + " Reported By " + reqFor);
}
Now , the problem I am facing that , this is working fine in portal , when we are checking from the platform , it is not working .
If you could see in the below screenshot , in the short description field requestor for name is not populating .
can anyone please help me with this issue , where i have to update in my scirpt please help me ,
It should work in platform level also .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2024 12:31 AM
Your comment is not very helpful. It does not explain what and how exactly does not work.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/