Service Desk Practitioners Forum
cancel

SP35 Dynamic forms

Highlighted
PatrikT
Respected Contributor.

SP35 Dynamic forms

After upgrade from SP26 to SP35 a lot seems to be changed, special about the rules that drive the subforms.

When I try to update one of these subforms I get the message:"" You are not allowed to add "insert subform" action unless the operators of all conditions are "is anything" ""

Has any of you expierenced this ?
in attachment a screenshot

Patrik
5 REPLIES
Err_1
Acclaimed Contributor.

Re: SP35 Dynamic forms

This looks a lot like a known issue that was fixed in SP31, where for UI rule, "Insert subform" action is only available when all operators of its conditions are â Is Anythingâ .

Because of this fix, for those existing UI rules that are not using the correct condition operators, the "Insert subform" action will NOT be executed any more.

This is stated in the readme file of the service pack, under ITSM009454.

Regards;
Randall Barrantes
SW Support Delivery Manager
PatrikT
Respected Contributor.

Re: SP35 Dynamic forms

Thanks Err,

Now I know what is causing my issue. Only i am not able to find any way of solving my issue as I always have been creating subforms like this ...

Do you have a suggestion?
thanks
Oleg Shilovskiy
Trusted Contributor.

Re: SP35 Dynamic forms

Hello !

Where can i download Service Pack 35 ?


Oleg.
PatrikT
Respected Contributor.
Err_1
Acclaimed Contributor.

Re: SP35 Dynamic forms

Patrik,

There is a workaround that can be applied, but of course it all depends on the UI rule that you have defined, so you might need to modify it a little bit to match your UI rule.

Split the UI rule to 3 UI rules and use a third field to do the sub form action, and then use 2 UI rules to update the third field.

Steps:

1. Make sure the insert marker and the subform are available.

2. Admin Console > Data > Custom Fields > Service call > Service call code 10
* Enable this field for all categories.

3. Admin Console > Data > Custom Fields > Service call > Service call code 10
* Restart client, add 2 code values to the field. For example: "value1" and "value2"

4. Admin Console > Data > Codes > General > Generic Relation Type
* Create a new relation type:

Name: sc_test001
From Item: Service call code 10
To Item: Form
Relations: value1 > the subform

5. Admin Console > UI Rules > Service call
* Create 3 UI rules:

1)
When a value has changed
where Service call Code 10 (*) is anything
Service call Code 10 -> sc_r1 (Insert subform)

2)
When a value has changed
where Category (*) equals Incident
AND Folder (*) equals E-Go
t1 (Update Data) Service call Code 10 set to value1

3)
When a value has changed
where NOT (Category (*) equals Incident)
OR NOT (Folder (*) equals E-Go)
t1 (Update Data) Service call Code 10 set to value2


Regards;
Randall Barrantes
SW Support Delivery Manager