- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 08:29 AM
yes, the field is getting company name.
Can you tell me where should I look for possibly conflicting scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 08:30 AM
Hi,
Any UI policy on that table
Regards
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2022 02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 08:06 AM
Hi there,
If you are getting a sys_id, you should be able to just pass that to it without specifying the sys_id column, i.e.:
companyRecord.get(companyId);
Also the line where you are doing this:
return companyRecord.name.getDisplayValue();
Can you try remove the getDisplayValue(); Since that field is just a string field anyway.
Other than that cannot see anythin else wrong with it. If you do a gs.info(companyRecord.name) (in your script include), what comes up in the logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 08:42 AM
Thanks for your answer, I'll keep that in mind. I think that what helped most was removing initialize() and moving all logic into one function on client script. But I must dive deeper into those ajax functions to know exactly what is going out there.