- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2018 12:34 PM
Hello We are creating a record producer to populate the announcements as we are pre defining some of the fields i am not able to set portal and Glyph . can some one help me with this ?
the code which i am using is : current.glyph="fa-heart"; and for selecting portal : i tried
current.sp_portal.sys_id('67ebcbc913408700be045d622244b029');
current.sp_portal('67ebcbc913408700be045d622244b029');
current.sp_portal.setDisplayValue('67ebcbc913408700be045d622244b029');
can some one help me with this , thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 07:29 AM
You need to add names of glyphs that exist. So
current.glyph="fa-heart" // this won't work
current.glyph="heart" // this will work
If you want to name what the correct name of a glyph is create a record and assign the glyph you want. Save it then right click on the header and click "Show XML". This will show you the actual values of those records. Scroll down to "glyph" and you'll see the value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 10:50 AM
Portal is not on the announcement table so the record producer will not work for it. It is on a different table that is referencing the announcement table. You need to find that table and assign your portal value to it.
https://docs.servicenow.com/bundle/kingston-platform-user-interface/page/use/using-forms/concept/c_RelatedLists.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2019 02:40 AM
Kam, does it works your record producer? I've created a similar one. Create the record on the announcements table, manual insert the target portal but doesn't work!!! No announcement see on the portal. If I created new from the table all fine but the record created trough the record producer not works also if I update it.
Someone else could help me?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2019 05:24 AM
Hi Kam does it work the record producer? I've created one similar but it doesn't work. RP produce the record on the table announcements, I insert manually the target portal (at the moment..) but nothing happen!! No announce on the portal page. Also if I modify the record and update it not works! only record create trough the New button works.
Anyone has suggested for this issue?
Thanks in advance.