Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Create & Update user form - GSP Customization // Multivalues

c_d
New Contributor II
New Contributor II

Hello all,

Is it possible to change gsp role file and put select multivalues fields on the form ? 

If yes, can u provide me with a gsp example please? 

 

12 REPLIES 12

Raghu
Valued Contributor III
Valued Contributor III

We can't change everything , some of tag work dependent on backed code.

if you want multivalue  you create dyanamic attribute and use it have option.


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

You can create dynamic attribute GSP modification is not required in this case.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

c_d
New Contributor II
New Contributor II

Where can i configure dynamic attributes fot request creation role form ? 

 

c_d
New Contributor II
New Contributor II

Ii'm talking about modifying this form, not the user form:

c_d_0-1710836087680.png

 

Raghu
Valued Contributor III
Valued Contributor III

that is we can't change multi value, you need raise Saviynt ticket. just we have option label name change only via user interface.


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

naveenss
All-Star
All-Star

Hi @c_d ,

What is the use case here? Role Name is a unique attribute. Ideally it should be single select. I'm curious to know the business case here.

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

c_d
New Contributor II
New Contributor II

Hi @naveenss ,

For example, I want to put "country" role field under multivalue choices.

 

Do you mean to say, you want to have a country specific role? For example, India, Germany, Italy etc?

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

c_d
New Contributor II
New Contributor II

Yes, i want to modify country text field type to a drop down field type and let an end user select one or more country values for a role.

Update roles/create.gsp


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

<div class="form-group">
<label class="control-label">
<g:message code="Roles.CustomProperty1.Default.label" editable="true"/>
</label>
<select class="form-control" id="customproperty1" name="customproperty1[]" aria-label="<g:message code='Roles.CustomProperty1.Default.label'/>" multiple>
<g:each var="option" in="${customProperty1Options}">
<option value="${option}" ${option in fieldValue(bean: rolesInstance, field: 'customproperty1') ? 'selected' : ''}>${option}</option>
</g:each>
</select>
</div>


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.