and more in a single search tool across platforms. Read the announcement here. |
03/18/2024 09:14 AM
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?
03/18/2024 10:15 AM
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.
03/18/2024 08:22 PM
You can create dynamic attribute GSP modification is not required in this case.
03/19/2024 12:55 AM
Where can i configure dynamic attributes fot request creation role form ?
03/19/2024 12:59 AM
please follow below links refence attribute creation
03/19/2024 01:14 AM
Ii'm talking about modifying this form, not the user form:
03/19/2024 01:20 AM
that is we can't change multi value, you need raise Saviynt ticket. just we have option label name change only via user interface.
03/19/2024 03:20 AM
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.
03/19/2024 04:02 AM
03/19/2024 06:51 AM
Do you mean to say, you want to have a country specific role? For example, India, Germany, Italy etc?
03/19/2024 07:13 AM
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.
03/19/2024 09:06 PM
Update roles/create.gsp
03/19/2024 09:07 PM
<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>