- 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-14-2018 12:53 PM
You are probably setting the glyph but "fa-heart" is not an actual value in the glyphs (it is just heart). So, it loads nothing in the box. If you look at the xml of the record it will show what you set it to in the gliderecord.
The portal you are trying to set looks like it is on another table, so it is not part of the current object.
Set the portal on the announcement record then click the "I" to find the table. It is mostly likely a m2m table that you'll have to do a second gliderecord on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2018 06:10 PM
using the same code for service portal mentioned above its working but its not displaying on the announcments record
and can you please let me know what to do with that Glyph
- 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 07:40 AM
Thank you
And one more last thing , why is my portal not showing on the form, even though its displaying on the portal which is specified in the record producer