- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 01:23 AM
Hello Experts,
Can some one please give an solution for my issue.
I have a single line variable.My requirement is need to add multiple data in to that field.It's not reference field so I cannot use glide_list.
They don't need it as comma separated also..
How can we achieve it?
Thanks
Saranya
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2016 04:36 AM
Info from Share (i have attached the files as well):
With this update set I have setup a widget that you can apply to a catalog variable to create a dynamic input table of information. This widget gives flexibly in setting the title, columns and structure of the table to input data. This table can be made to limit the number of rows or allow for the user to create an endless number of rows to input their data. In short, this gives you the ability to create a spreadsheet type of variable for users to input their data.
When the request is submitted the table data is written into an HTML variable for display on request items along with a JSON variable that can be used for processing the raw data. I set this up so that you can use the widget both for display of the variable table but also edit the definition when you are logged on as an administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 12:52 AM
Hello Lars,
It worked .I entered the maximum values 10 and entering more than thar. That'y it didn't took the value.
Thank you very much for the help on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2016 10:36 PM
Hello Lars,
Really sorry for asking the question again.
I want to map this variable via script include or BR. producer(current.work_notes = ("[code]" + producer.html_output + "[/code]" );) won't work there.
I tried below code in the script include didn't work
var html_output=this.getParameter('sysparm_html_output');
var inc= new GlideRecord('incident');
inc.initialize();
inc.work_notes=html_output;
I tried below code in the before insert business rule it also didn't worked
current.work_notes = ("[code]" + current.html_output + "[/code]" );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2016 12:27 AM
Hi
You only have access the the variable within the record producer. After the incident is created you wont have access to it any more if you have not mapped it to a field in the incident.
Can you explain to me the business logic you are trying to implement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2016 01:02 AM
Hello Lars,
In the Service portal,am not using the OOB submit and created another submit and calling a script include creating incident...am not able to map the variable within the record producer.I want to map via business rule or by script include..
I am looking solution for this.
Thanks
saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2016 01:07 AM
Why do you not want to use the OOB submit function?