cancel
Showing results for 
Search instead for 
Did you mean: 

Paragraph Type Fields

MarshallMclane
Level 5
Hi All, 

Is it possible to edit the value of paragraph fields and also to make these fields visible or not visible by using the Interact API VBO. When getting form schema the paragraph fields come in with a GUID Name and not the normal name. 

For example while I am updating status field of a form via the Interact API, I also want to hide certain paragraph fields and make visible other ones. I cant seem to find out how to do this. Any ideas? 

Thanks,

Marshall Mclane

------------------------------
Marshall Mclane
Automation Developer
Capital Group
America/Los_Angeles
------------------------------
1 BEST ANSWER

Best Answers

joefarr
Staff
Staff
Hi Marshall

It's not possible to edit the value of paragraph fields but you can make them visible/not visible by using the Update Config. action in the Interact API VBO. You can use the value brought back by the Get Form Schema action as the Field Name. For the value in Type,  it's '0' to change the state of fields and '2' to change the state of pages. For the value in State, for fields it's 0 to change it to Optional, 1 for Mandatory, 2 for Read Only, and 3 for Hidden. For pages and paragraphs it's 0 for Visible and 3 for Hidden.
4214.png

Although you can't amend the value of a paragraph, you could have multiple hidden paragraphs for different circumstances and use either rules, based on the values within the form, or the Blue Prism process itself to make the relevant paragraph visible depending on your criteria. 

Kind Regards

------------------------------
Joe Farr
Product Consultant
Blue Prism Limited
------------------------------

View answer in original post

1 REPLY 1

joefarr
Staff
Staff
Hi Marshall

It's not possible to edit the value of paragraph fields but you can make them visible/not visible by using the Update Config. action in the Interact API VBO. You can use the value brought back by the Get Form Schema action as the Field Name. For the value in Type,  it's '0' to change the state of fields and '2' to change the state of pages. For the value in State, for fields it's 0 to change it to Optional, 1 for Mandatory, 2 for Read Only, and 3 for Hidden. For pages and paragraphs it's 0 for Visible and 3 for Hidden.
4214.png

Although you can't amend the value of a paragraph, you could have multiple hidden paragraphs for different circumstances and use either rules, based on the values within the form, or the Blue Prism process itself to make the relevant paragraph visible depending on your criteria. 

Kind Regards

------------------------------
Joe Farr
Product Consultant
Blue Prism Limited
------------------------------