cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
898
Views
0
Helpful
1
Replies

CIAC-Hidden fields not taking Javascript-based values in Outbound Request Parameter

shankarhclite
Level 1
Level 1

Hi

We are working on CIAC 9.4 hosted on Windows 2008 Server. We have been using  Free Form/Service based Dictionaries. We  also use HTTP/WS Adapter and Listener with the corresponding Transformation created (Outbound/Inbound). We saw an issue in the Outbound Transaction of message type ‘Execute Task’ in View Transaction that values of the dictionary fields involved in the Grid Display are NOT set to the values set through Javascript.

We defined two hidden fields as display properties for the free form dictionary with default values as "def1" and "def2". We set the hidden fields with values as "1" and "2" resspectively. But in the Transaction External Message xml the values are set still as default values.

External Message:

          <Attributes>

                         <Designation>def1</Designation>

                         <EmployeeID>1</EmployeeID>

                         <EmployeeName>helloWrold</EmployeeName>

                         <Location>def2</Location>

                         <ProcessInstanceId></ProcessInstanceId>

          </Attributes>

                

          In the front end, we set the Hidden fields by the below JS lines:

                   serviceForm.TestingDict.EmployeeDesignation.setValue(['1']);

                   serviceForm.TestingDict.EmployeeLocation.setValue(['2']);

        Pls help us as to how to resolve the issue. Is there any way to have access by scripts to control the Transformation of these parameters

Thanks

1 Reply 1

derevan
Level 4
Level 4

On the Display Properties page of your form, do you have the "editable on server side only" box checked? That is the default for hidden fields and you won't be able to set values via JavaScript. Uncheck the box and it should work.

Review Cisco Networking for a $25 gift card