Versions Compared

Key

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

...

 During section create or update time , system will do the section data type validation, in case  section query is not valid then it won't allow to create it. 

Wiki Markupcode
languagejs
titleIncorrect Section settings
 {
                "display": "{\"name\":{\"en\":\"Popular Story\",\"hi\":\"लोकप्रिय कहानी\"}}}",
                "alt": null,
                "description": null,
                "sectionDataType": "content",
                "imgUrl": null,
                "searchQuery": "{\"request\":{\"query\":\"\",\"filters\":{\"language\":[\"English\"],\"contentType\":[\"Story\"],\"status\":[\"Live\"]},\"sort_by\":{\"me_averageRating\":\"desc\"},\"limit\":10,\"exists\":[\"me_averageRating\"]}}",
                "name": "Popular Story"
            }


Or 

{
                "display": "{\\"name\\":{\\"en\\":\\"Popular Story\\"}}}",
                "alt": null,
                "description": null,
                "sectionDataType": "content",
                "imgUrl": null,
                "searchQuery": "{\\"request\\":{\\"query\\":\\"\\",\\"filters\\":{\\"language\\":[\\"English\\"],\\"contentType\\":[\\"Story\\"],\\"status\\":[\\"Live\\"]},\\"sort_by\\":{\\"me_averageRating\\":\\"desc\\"},\\"limit\\":10,\\"exists\\":[\\"me_averageRating\\"]}}",
                "name": "Popular Story"
            }

...