Hello Nair,
I am posting my latest questions on this above topic in this new thread. My copy/paste of the response data has skewed the other thread.
#1:
Some of my requirements can be met by javascript. For instance in the attribute (called Status having values Active, Review, Attested) dropdown, only shift from Active to Review is allowed whereas all other shifts should not be allowed.
Question: Can I tap the attrrtset html file and put javascript for this. Although I understand when the attribute values changes (due to business req change) I have to re-code it. But since the business req is pretty frozen, can I do these validations in client side and is attrrtset the correct file.
#2: Once the shift happens from say Active to Review, I need to invoke API call to change the parent folder permissions. THis can be easily done. But how do I get the target value (in this case Review). It looks like I can find it in reponse but how do I parse this from the response which is an Assoc object.
Response object value is below.
A<1,?,'adminHelp'=false,'data'=A<1,?,'AttrAssoc'=<LL:Frame>{{fParent:#400346a}fAddedCategories:V
{<'Name','Key'>},fAttrChangePrefix:'',fData:A<1,?,{4376,3}
=A<1,?,'CustomID'=0,'ID'=1,'Values'=
{A<1,?,2=A<1,?,'ID'=2,'Values'={'Attested'}
>,3=A<1,?,'ID'=3,'Values'={false}>,4=A<1,?,'ID'=4,'Values'=
{false}>,5=A<1,?,'ID'=5,'Values'={false}>>}
>>,fDefID:?,fDefinitions:A<1,?,{4376,3}=A<1,?,'Children'=
{A<1,?,'DisplayName'='Status','FixedRows'=true,'ID'=2,'MaxR
ows'=1,'NumRows'=1,'Required'=false,'Search'=true,'Type'=10
,'ValidValues'={'Active','Review','Attested'}
>,A<1,?,'DisplayName'='Steward Sign
Off','FixedRows'=true,'ID'=3,'MaxRows'=1,'NumRows'=1,'Searc
h'=true,'Type'=5>,A<1,?,'DisplayName'='Attestor Sign
Off','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'Searc
h'=true,'Type'=5>,A<1,?,'DisplayName'='ESignature','FixedRo
ws'=true,'ID'=5,'MaxRows'=1,'NumRows'=1,'Search'=true,'Type
'=5>},'DisplayName'='EBinder','FixedRows'=true,'ID'=1,'MaxR
ows'=1,'Name'='EBinder','NextID'=6,'NumRows'=1,'Required'=f
alse,'Type'=-
18,'ValueTemplate'=A<1,?,'CustomID'=0,'ID'=1,'Values'={A<1,?,2=A<1,?,'ID'=2,'Values'={'Attested'}
>,3=A<1,?,'ID'=3,'Values'={false}>,4=A<1,?,'ID'=4,'Values'=
{false}>,5=A<1,?,'ID'=5,'Values'={false}>>}
>>>,fDeletedCategories:V
{<'Name','Key'>},fID:4587,fNoPermData:?,fPrgCtx:#41d61b1,fU
serData:?,fValueChanges:V{<'Key','Old','New'><'EBinder
[1].Status[1]','Attested','Attested'><'EBinder[1].Steward
Sign Off[1]',false,false><'EBinder[1].Attestor Sign
I am posting my latest questions on this above topic in this new thread. My copy/paste of the response data has skewed the other thread.
#1:
Some of my requirements can be met by javascript. For instance in the attribute (called Status having values Active, Review, Attested) dropdown, only shift from Active to Review is allowed whereas all other shifts should not be allowed.
Question: Can I tap the attrrtset html file and put javascript for this. Although I understand when the attribute values changes (due to business req change) I have to re-code it. But since the business req is pretty frozen, can I do these validations in client side and is attrrtset the correct file.
#2: Once the shift happens from say Active to Review, I need to invoke API call to change the parent folder permissions. THis can be easily done. But how do I get the target value (in this case Review). It looks like I can find it in reponse but how do I parse this from the response which is an Assoc object.
Response object value is below.
A<1,?,'adminHelp'=false,'data'=A<1,?,'AttrAssoc'=<LL:Frame>{{fParent:#400346a}fAddedCategories:V
{<'Name','Key'>},fAttrChangePrefix:'',fData:A<1,?,{4376,3}
=A<1,?,'CustomID'=0,'ID'=1,'Values'=
{A<1,?,2=A<1,?,'ID'=2,'Values'={'Attested'}
>,3=A<1,?,'ID'=3,'Values'={false}>,4=A<1,?,'ID'=4,'Values'=
{false}>,5=A<1,?,'ID'=5,'Values'={false}>>}
>>,fDefID:?,fDefinitions:A<1,?,{4376,3}=A<1,?,'Children'=
{A<1,?,'DisplayName'='Status','FixedRows'=true,'ID'=2,'MaxR
ows'=1,'NumRows'=1,'Required'=false,'Search'=true,'Type'=10
,'ValidValues'={'Active','Review','Attested'}
>,A<1,?,'DisplayName'='Steward Sign
Off','FixedRows'=true,'ID'=3,'MaxRows'=1,'NumRows'=1,'Searc
h'=true,'Type'=5>,A<1,?,'DisplayName'='Attestor Sign
Off','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'Searc
h'=true,'Type'=5>,A<1,?,'DisplayName'='ESignature','FixedRo
ws'=true,'ID'=5,'MaxRows'=1,'NumRows'=1,'Search'=true,'Type
'=5>},'DisplayName'='EBinder','FixedRows'=true,'ID'=1,'MaxR
ows'=1,'Name'='EBinder','NextID'=6,'NumRows'=1,'Required'=f
alse,'Type'=-
18,'ValueTemplate'=A<1,?,'CustomID'=0,'ID'=1,'Values'={A<1,?,2=A<1,?,'ID'=2,'Values'={'Attested'}
>,3=A<1,?,'ID'=3,'Values'={false}>,4=A<1,?,'ID'=4,'Values'=
{false}>,5=A<1,?,'ID'=5,'Values'={false}>>}
>>>,fDeletedCategories:V
{<'Name','Key'>},fID:4587,fNoPermData:?,fPrgCtx:#41d61b1,fU
serData:?,fValueChanges:V{<'Key','Old','New'><'EBinder
[1].Status[1]','Attested','Attested'><'EBinder[1].Steward
Sign Off[1]',false,false><'EBinder[1].Attestor Sign