Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Darren Hunter 113 posts 204 karma points
    27 days ago
    Darren Hunter

    Block Grid Custom View using Angular to get settings


    Is there any way when building a custom view in the back office that is linking to an Angular controller, is there a way to get any of the values stored in the application.json file.

    I need to get the Google Maps API key so I can display the map correctly, in the preview I am building.

    I do not want to add the API key to the back office in the element / composition. As I do not want the key changing by any of the users.

    Thanks Darren

  • Huw Reddick 1815 posts 6249 karma points MVP c-trib
    27 days ago
    Huw Reddick

    you could either use an api controller to return the value or set up a server variable

Please Sign in or register to post replies

Write your reply to: