cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Skilled Sharer
Skilled Sharer

Azure SQL DB. Is There a Source Connection Limit?

I have an app that uses Azure SQL DB. I use a lot of tables, lookup tables and views (40). I just tried to another lookup table and it is not adding it properly. I added DBLStatus and as you can it didn't add it properly. No brackets and no [dbo]. Also, when I try to use it it is not recognized. The table is created correctly. Just to be sure I tried to add different tables and views and the result is the same. After some thought I've got to believe there is some limit. I looked for info on this but didn't find anything.

 

AddTable2.png

1 ACCEPTED SOLUTION

Accepted Solutions
mogulman
Skilled Sharer
Skilled Sharer

They must have made a recent change.  I downloaded msapp file and unzipped it.  Looked at datasources.json file.  The sources are now labeled as table name only.  So when you reference it just use table name.  No brackets or [dbo].  Threw me for a loop yesterday.  Never saw any change notice. 

 

ClearCollect(
    colDBLStatus,
    'DBLStatus'
);

 

   {
      "Name": "[dbo].[TradeComment]",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[TradeComment]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-03-03T17:55:15.4740000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[TradeComment]": "{\"name\":\"[dbo].[TradeComment]\",\"title\":\"[dbo].[TradeComment]\",\"x-ms-permission\":\"read-write\",\"x
      },
      "ConnectedDataSourceInfoNameMapping": {
      }
    },
    {
      "Name": "DBLStatus",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[DBLStatus]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-04-13T16:25:08.7980000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[DBLStatus]": "{\"name\":\"[dbo].[DBLStatus]\",\"title\":\"[dbo].[DBLStatus]\",\"x-ms-permission\":\"
      },
      "ConnectedDataSourceInfoNameMapping": {
      }

 

View solution in original post

1 REPLY 1
mogulman
Skilled Sharer
Skilled Sharer

They must have made a recent change.  I downloaded msapp file and unzipped it.  Looked at datasources.json file.  The sources are now labeled as table name only.  So when you reference it just use table name.  No brackets or [dbo].  Threw me for a loop yesterday.  Never saw any change notice. 

 

ClearCollect(
    colDBLStatus,
    'DBLStatus'
);

 

   {
      "Name": "[dbo].[TradeComment]",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[TradeComment]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-03-03T17:55:15.4740000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[TradeComment]": "{\"name\":\"[dbo].[TradeComment]\",\"title\":\"[dbo].[TradeComment]\",\"x-ms-permission\":\"read-write\",\"x
      },
      "ConnectedDataSourceInfoNameMapping": {
      }
    },
    {
      "Name": "DBLStatus",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[DBLStatus]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-04-13T16:25:08.7980000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[DBLStatus]": "{\"name\":\"[dbo].[DBLStatus]\",\"title\":\"[dbo].[DBLStatus]\",\"x-ms-permission\":\"
      },
      "ConnectedDataSourceInfoNameMapping": {
      }

 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (67,267)