Hello,
how can I change the XML Metadata of the expiration document so as to allow the selection of the user with which they are logged in?....I have highlighted the relevant point
how can I change the XML Metadata of the expiration document so as to allow the selection of the user with which they are logged in?....I have highlighted the relevant point
Code: Select all
<property-groups>
<property-group label="Scadenza" name="okg:expiration">
<input label="Data scadenza" name="okp:expiration.date" type="date">
<validator type="req"/>
</input>
<select label="Stato" name="okp:expiration.state" type="simple">
<option label="Notifica" value="notify"/>
<option label="Valido" value="valid" selected="true"/>
<option label="Scaduto" value="expired"/>
<validator type="req"/>
</select>
<select label="Notifica prima della scadenza" name="okp:expiration.group.alert" type="multiple" table="group"
optionsQuery="select $gru_name, $gru_name from DatabaseMetadataValue dmv where dmv.table='group' and [b]$gru_name=userId[/b] group by $gru_name">
<validator type="req"/>
</select>
<select label="Notifica la scadenza" name="okp:expiration.group.expired" type="multiple" table="group"
optionsQuery="select $gru_name, $gru_name from DatabaseMetadataValue dmv where dmv.table='group' group by $gru_name">
<validator type="req"/>
</select>
</property-group>
</property-groups>