Hi All,
I’m in the process of bringing content with metadata already applied into a new site, and having it only display if the new metadata is not populated. This was going well until I attempted to replicate the settings of the old metadata schema to retain consistency for content editors.
The older metadata schema uses Paintlayout conditional keywords to hide the asset set as default in the field. It is set to a folder to make it easier for editors to find when creating creating a new news item.
This is the code used in the old site for that:
%begin_member_condition%
%asset_metadata_Member_asset_name%,
%else_member_condition%
%end_member_condition%
I’ve replicated the settings in the new site/metadata schema but it’s failing when I try to combine my original working code that shows the old metadata if the new is not populated and the additional condition keyword to hide the set default asset. Are there any obvious issues in the following code?
%begin_asset_metadata_MemberName%
%begin_condition_2%
%asset_metadata_MemberName_asset_name%,
%else_condition_2%
%end_condition_2%,
%else_asset%
%asset_metadata_Member_asset_name%,
%end_asset_metadata_MemberName%
Here are the settings for the condition:
Cheers,
Paul