Hello I'm in the middle of a process of figuring something out and I'm a little lost on what UCM is doing.
Ok so I have a profile with 8 different groups of metadata, and I'm trying to recycle it so it's the same page but only showing groups needed for this new type of item. So what I was trying to do was use the idoc command <$dpPromote("xMetadata:isExcluded", "1")$>, and it does exclude the metadata field from the form (I think it does atleast); but the group header is still there and doesn't hide or show anything because there is nothing there. Now if I was to go to the Type drop down on the Edit Rule Field for that metadata and click them as Exclude from that then the group goes away, but now I can't access it on the full form I'm using. I'm wondering if I'm either missing something (the idoc pdf doesn't really give much on "field:isExcluded", or if there is another way to do this?
I could, just trying to see if there was a way to not make a whole new profile since what I'm doing is just a very cut down version of a profile I already made; and since I have metadata fields being turned info only based on where the item is in the workflow so it wouldn't have been a strech to just exclude the fields altogether.
<$dpPromote("xMetadata:isExcluded", "1")$> is triggered when the metadata field xDocType (which has fields a,b,c) is equal to c on the info page, and that seems to work, it is exlucded when xDocType is c but not a and b. It's just that group heading is still there.
you could do what jiri suggested.
1) create 1 additional rule for hiding your xMetadata.
2)To this rule under General Tab select "Use Rule Activation Condition" --> go to custom tab and add
( (dpAction like "Info") and (dDoctype like "<value>"))
3) add the metadata and select hidden from dropdown.
4) Add this rule to your profile. Make sure this rule is after your original rule for displaying xMetadata.