Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We also configure the following in our configuration files for this use case:

Code Block
languagejson
{
     \ "identifierTagPath\": \"basicInformation.mObjects\",
    		       
  \"isMultiTagbox\": false,

   		          \"identifierListSchemaId\": \"basicInformation\",
    		          \"flagLayerId\": \"FlaggingLayer\",
    		          \"flagFieldId\": \"bestImageForWeb\",

   		          \"fields\": [
    		            {
    		     
        \"fieldPath\": \"flaggingLayer.highestWeighted\"

   		            },
    		            {
    		       
      \"fieldPath\": \"flaggingLayer.secondHighestWeighted\"
    		       
    },
  
 		            {
 
  		              \"fieldPath\": \"flaggingLayer.thirdHighestWeighted\"
    		            },
           
            {
                          "fieldPath": "audit.creationDate",
                   
      "sortDirection": "Asc"

                       }
    		       
  ]
   
}

The fields are then considered in order from top to bottom. All the Content Items with the same - in this example - Museum Plus object number are evaluated. If the first field is true on one of these images it will be flagged as best for web.

...