Copying A Variable Value Into A Field Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2014 07:47 AM
We have numerous Catalog Items, where the request type is captured in the variable.
For example, "Email" is the Catalog Item, and "New Access", "Group Mailbox", "Distribution List" is captured within a variable.
With a business rule, I can copy the value of the variable onto the field on the Requested Item table.
current.u_item_type = current.variable_pool.email_access_list.getDisplayValue();
The issue I am experiencing however, is how do I expand that business rule?
If i have 50 Catalog Items, and I always want the "request type" value to populate into the Requested Item form. How should I go about doing that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2014 09:34 AM
Just to be clear, however, this only works for Record Producers and not for "normal" Catalog Items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2017 08:15 AM
Emily, it only works for record producers. And it is not advisable to create requested item records from record producers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2014 01:24 PM
bianca.vaccarini, can you change this discussion to a question? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2014 01:56 PM
Hi Rachelle
I had to do something similar, after many of the items were created with different variable names. I created a variable called short_description in a variable set that I added to each item. Then I had an OnSubmit Catalog Client script on each item that built values I wanted into the Short Description variable. Sometimes it was a combination of the Item's specific variables, not just one variable.
Next I had a business rule, like you did, that pushed the short_description variable to the short description of the RITM record on insert.
Hope this helps.
Sabrina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2014 01:52 PM
Has anyone come up with a possible solution. I am trying to do something similar. However my variables are the same. I just need to pull some variable values from the catalog form into some form fields on the request item form.