"Imported content is empty" in Google Sheet or showing wrong data

Knowledge Drop

Last tested: Jan 17, 2019
 

If you are exporting a Look publicly in a Google Sheet and use user attributes in your LookML, the public export will use the default value of the user attribute. This may be different that the exporter's user attribute value.
If you have no default value set for the user attribute, with the =ImportXML function like "Imported content is empty"
The error with the =LookerFetchData function is more helpful and lets you know about the lack of default value in the user attribute.

This content is subject to limited support.                

Comments
agadish-1644002
New Member

Is there a way to provide user_attributes in the lookerfetchdata() or importXML() parameters to overcome this?

Or what is the proposed solution for these errors?

Version history
Last update:
‎06-28-2021 11:51 AM
Updated by: