Solved

How to lock Analyze visuals

  • 27 April 2023
  • 3 replies
  • 63 views

  • Known Participant
  • 23 replies

Hi,

 

I would like to lock the Analyze visuals. So, that I can see only save as option for those locked visuals.

Can any one help me on how to achieve that.

 

Thanks,

Kavi

icon

Best answer by Moises Morales 27 April 2023, 16:12

View original

3 replies

Userlevel 3

Hi Kavi, 

 

It is possible to lock Analyze visuals so that even editors cannot modify them. You need to get the insight metadata by using a GET command with this endpoint:

/gdc/md/WID/obj/ObjectID

Once you get the metadata, you have to copy it, paste it to your body request and make sure the Content type is “application/json”

then you will need to add "locked": 1 under the "meta" codeblock and submit a POST request to the same endpoint. The HTTP response will be 200 and a lock icon will show next to the insight title in the UI: 

 

The save option will be greyed out, but users will be able to save it as a new. 

 

-Moises

 

Hi Moises,

 

When I’m trying to execute GET command in Postman It saying 401 Unauthorized. Can I know why it’s getting?

 

Thanks,

Kavi

Hi Moises,

 

I’m able to resolve the error and able to lock the insights.

 

Thanks,

Kavi

Reply