on 05-28-2013 3:43 PM
We have a scenario to set some default values for valid from and valid to field during Role assignment via UI. Here the user who is requesting the role need not specify any explicit values if they don't know but at the same time they can read it from default values populated and leave as is.
Is there a standard way to achieve it ? Where can we configure the same ?
Hi Karthikeyan,
there are several options I'm aware of to do this.
Hope that helps,
Lambert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Lambert for detailed explanation.
For few project reasons we cannot go with REST API or extension framework currently.
I can understand static value for attributes can be set in task specific. Now our concern is Valid from and Valid To property field while assigning role to user (via MXREF_MX_ROLE).
I am not sure whether it is anyway linked to MX_VALIDFROM or MX_VALIDTO ?
I tried having a to identity store pass to update these fields when it is empty or not set by the user but that keeps giving me error "Overlapping assignment validity: Attribute: MXREF_MX_ROLE" and thought it will be prudent if could set default value prior to that or make this property mandatory something.
Can you please advise on this ?
Hi Karthikeyan,
good feedback, I guess I missed the point that your question was specifically about assignment validity, and not about default values in the UI in general.
The attributes MX_VALIDFROM and MX_VALIDTO are not related to assignment validity, at least when they're attributes of an MX_PERSON object. My example screenshot above for static default values is therefore not applicable to your specific problem at hand.
Unfortunately, I'm not aware of any easy way to default the validity of assignment attributes like MXREF_MX_ROLE.
Best regards,
Lambert
Hi Karthik,
You can do this by using below syntac for MXREF_MX_ROLE attribute.
MXREF_MX_ROLE {A}{VALIDFROM=2000-01-01!!VALIDTO=2020-12-31}<ROLE_NAME>
Thanks,
Pravansu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Pravansu for your inputs.
Meanwhile i tried following https://help.sap.com/saphelp_nwidmic72/en/managing_passes/to_passes/dse_modifying_properties_of_link... and now with the help of identity store pass could able to achieve our requirement
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.