No fields available in report data panel

Hi!

I've made a Community Connector and testing it out on a Looker Studio report.  The connector hooks up fine and shows my schema in the data sources panels.  

But i can't hook up any charts because the field do not display in the data panel!

When i click on "Add Field" in the data panel to create a calculated field, my schema shows up fine.

Have attached screenshots of the issue.

I feel ike this is a bug as everything seems to be operating normally except the data panel in the report?

Fields show hereFields show hereAnd hereAnd hereBut not here!But not here!



Solved Solved
0 1 54
1 ACCEPTED SOLUTION

I have resolved this!

The issue was my getAuthType function was not using the correct builder to generate the return value.  I was just returning a string "NONE".  Updated to:


var cc = DataStudioApp.createCommunityConnector();

// https://developers.google.com/datastudio/connector/reference#getauthtype
function getAuthType() {
  var AuthTypes = cc.AuthType;
  return cc
    .newAuthTypeResponse()
    .setAuthType(AuthTypes.NONE)
    .build();
}




View solution in original post

1 REPLY 1

I have resolved this!

The issue was my getAuthType function was not using the correct builder to generate the return value.  I was just returning a string "NONE".  Updated to:


var cc = DataStudioApp.createCommunityConnector();

// https://developers.google.com/datastudio/connector/reference#getauthtype
function getAuthType() {
  var AuthTypes = cc.AuthType;
  return cc
    .newAuthTypeResponse()
    .setAuthType(AuthTypes.NONE)
    .build();
}