Document state and Outgoing References metadata property need to move to third column but by default it is available in 2nd column. Please help how we can rearrange these two metadata.
Solved! Go to Solution.
Views
Replies
Total Likes
@djohn98390536 : are you looking to rearrange the docstate in one of the columns in asset properties?
You are correct that this is programmatically added. If you really need to change this you can do so by first understanding how it is currently added: check the file "/libs/fmdita/clientlibs/clientlib-asset-properties-page/docstatefield.js" where the method "addDocstateField" has logic to add it to the 2nd column - you can notice this in following line of code:
var col = $('coral-panel:nth-child(1) .aem-assets-metadata-form-tab .aem-assets-metadata-form-column:nth-child(2)');
Now to change this to your custom logic you can :
I hope this is what you were looking for.
Hi,
You can arrange it using metadata schema form editor. Please follow the below steps to reach there:
1. Click on Adobe Experience manager and in the left rail, go to Tools.
2. Click on Assets and on right side you will find the option for metadata schemas. Refer below image:
3. Click on metadata schemas and select the schema you want to edit. Select it and on top bar, edit button will be visible.
4. Click the edit button and it will open the metadata schema form editor. There you can arrange these options by drag/drop. You can also add/delete as per the requirement. Refer image below:
Let us know if it works for you.
Thanks and Regards,
Surbhi Maheshwari
Document State and Outgoing References are metadata in AEM guides OOTB property and by default it is available in second column of the asset property page .In metadata schema we have not added these properties but it is coming by default as these are guides OOTB property. My question is do we have any option to rearrange these properties .
@djohn98390536 : are you looking to rearrange the docstate in one of the columns in asset properties?
You are correct that this is programmatically added. If you really need to change this you can do so by first understanding how it is currently added: check the file "/libs/fmdita/clientlibs/clientlib-asset-properties-page/docstatefield.js" where the method "addDocstateField" has logic to add it to the 2nd column - you can notice this in following line of code:
var col = $('coral-panel:nth-child(1) .aem-assets-metadata-form-tab .aem-assets-metadata-form-column:nth-child(2)');
Now to change this to your custom logic you can :
I hope this is what you were looking for.
Thanks @DivrajSingh for your time to reply .It is working as expected .
Views
Likes
Replies