Publications in views.json
10 min
purple experience summary in this article, you learn how to create a list to display two or more publications in your purple experience for app and/or web the steps will be proceeded in the views json in purple experience builder preconditions have at least two publications created in purple manager have images added to your publications have your publications published in the public database read this article to learn, how to create a publication in purple manager docid\ tmgmkhsfuemsh8ax65x0b how to guide 1\ go to experience builder, choose your app from the list and click on it choose your app from the list and click on it 2\ click on 'pull from preview' 3\ click on 'default' click on 'default' 4\ click on 'storefront' click on 'storefront' 5\ click on 'assets' click on 'assets' 6\ click on 'views json' 7\ click on the '+' button click on the '+' button 8\ enter a name and path name enter a name and path name 9\ click on the '+' button click on the '+' button 10\ click on the dropdown and change it to 'list' click on the dropdown and change it to 'list' 11\ click on the pen icon click on the pen icon 12\ copy and paste the following code into the field { "content" { "type" "publication" }, "datasource" { "type" "publication", "filter" { "properties" { "key" "channel", "value" "true", "negated" true } } }, "type" "list", "template" "horizontal", "centered" true, "selection" { "param" "publication", "init" true }, "class" "publication list " } 13\ press the save button press the save button 14\ click on the burger menu 15\ click on 'update dynamic ressources' 16\ save your changes and name them, e g 'publication view' save your changes and name them 17\ click on 'merge all files to preview' click on 'merge all files to preview' you have successfully created a list to display multiple publications in the experience html of your app, merged the changes and updated the dynamic resources you can test the results in the preview and push them live if they look fine, to make them visible in your live app