Embedded looks are only publicly available when logged into looker

tbone
Participant I

Hi,

I followed this guide: https://docs.looker.com/sharing-and-publishing/publishing-looks-with-public-urls#look_settings

To making a look publicly available and it seemed to work initially but i noticed that it only worked for me while i was logged into looker. As soon as i logged out or used another browser, i can’t see anything. This is further confirmed by other people that don’t have looker and therefore can’t access it. Is this expected behaviour?

0 9 311
9 REPLIES 9

IanT
Participant V

You aren’t using the public url I would assume, when you goto the cog in the look and select edit settings then you can strip the url from the iframe section.

tbone
Participant I

@IanT but i am, I am using this:
 

<iframe src='https://givingtuesday.cloud.looker.com/embed/public/vNgjHjr6c4mxxGjxZWVfPsbkW6nZJbwD' width='600' height='338' frameborder='0'></iframe>

If you try to go to that link, you’ll see it’s just blank

IanT
Participant V

Very odd, seems to be a problem with the look from all i can see here.

https://givingtuesday.cloud.looker.com/looks/vNgjHjr6c4mxxGjxZWVfPsbkW6nZJbwD.txt?apply_formatting=f...

tbone
Participant I

Thanks @IanT any idea how to troubleshoot this? Is there a setting I missed somewhere? 

Am I correct in assuming that a public embedding should be viewable by anyone regardless of their login to looker?

IanT
Participant V

yeh no login required, the folder in which the look lives shouldnt make a difference, maybe the look is returning no results?

Its not filtering on a user attribute is it?

Is public looks turned on in the admin general settings?

tbone
Participant I

I mean the look works when im logged in as i said, so I don’t think it’s not returning no results, depending on your definition. 

Is public looks turned on in the admin general settings?

How can I check this? I see it is turned on for the look itself but I am not aware of a general setting that affects all my looks.

Its not filtering on a user attribute is it?

Again, not sure how to verify this or what this means but it shouldn’t be...

IanT
Participant V

you are sure the look you are looking at is the same one that you have the public url of?

In the filtering of that look check to see if there is any filters based on user attribute.

Public look on/off can be seen under the main admin settings page - this is worth a check but i dont think you would even be as far along as you are now if it was turned off.

tbone
Participant I

I am 100% sure it is the same look. Only works when a user of this looker instance is logged in despite it set to public url on.

There are a few filters being used but nothing related to user attributes.

IanT
Participant V

Perhaps the model is leveraging user attributes in some kind of way...getting desperate now!

Make a public look based off one of the system activity explores and test to see if that works.