Client Scripts for hr_case - How to:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2015 09:26 PM
Am I missing something?
I don't see how client scripts get applied to record producers that create a case record.
The client scripts work for the RP (hiding variables onLoad, making them not mandatory).
But after they are submitted and hit the case table the client scripts dont take affect and all the variables appear on the case form.
I understand by definition that they are 'Catalog' client scripts but there has to be for this to work.
Its a logical extension of the task table.
Does anyone have experience in making this work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 01:49 PM
Joe,
Out-of-box, the HR record producers take variables (opened_for, short_description, description) and map them to fields on the hr_case table (which happen to have the same name). After the RP has been submitted and a hr_case record has been created, they are no longer variables, they are normal fields. At this point you can create UI Policies and regular client scripts to handle making the fields visible/mandatory/read-only.
Are there other customer variables/fields that you have setup in the record producer?
Thanks
Brian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2015 09:31 AM
I am creating full blown custom RPs to ask questions and pass that data to case forms.
in some instances, Y/N answers provide different paths questions for information.
For the variables on the RP that are not part of the relevant question tree, they are appearing on the case form (some mandatory) despite CCS that hide and make them not mandatory unless called by a UI policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2015 01:55 PM
Joe,
Can you provide a screen shot of your case form? Are you using scripts to transform the variables to fields, or are you using a script in the record producer to do so?
Thanks
Brian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2015 06:35 AM