web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cascading Menus using ...
Power Apps
Unanswered

Cascading Menus using {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" WHY Does this only show result

(0) ShareShare
ReportReport
Posted on by

Hi, can someone please respond! I am in a loop of despair on something that is essentially working, but is not working!

 

  1. I have a single SP table that contains "row by row" data, where new items are created and added
  2. There is another list which contains 80 rows, which contains lookup values
  3. There are 5 lookups "from" (1) looking at (2) which works perfectly and cascades the drop down as required.
  4. When adding the {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" code,  I can see RESULT

i.e. Id:Dropdown1.Selected.ID,
Value:Dropdown1.Selected.Division}

 

i.e where I want to type "ID" and "Division", I only get the option to type Result. 

 

Why is this? I have only ever got one of these connectors to work once, where it "wrote" the data back from Table 2 to Table 1.

 

I keep getting error messages about expected text values etc? Why? 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous ,

    Could you please share a screenshot about this issue?

    Could you please show more details about the formula you typed within the Items property of the Dropdown1?

    Further, do you want to auto-populate another Dropdown box with the selected value from the Dropdown1?

     

    Based on the issue that you mentioned, I suppose that you have typed a Distinct(...) formula within the Items property of the Dropdown1 box, is it true?

     

    Please check if you have typed a Distinct(...) formula within the Items property of the Dropdown1 box, if true, when you reference value from the Dropdown1 box, you could only get the Result option rather than ID or Division. As an alternative solution, please consider set the Items property of the Dropdown1 box to following:

    ShowColumns('Your Second List', "ID", "Division") /* <-- 'Your Second List' represents the SP List mentioned in (2) */

    then when you reference the selected value from the Dropdown1 box, you could get the ID and Division option.

     

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on at

    The "receiving" fields in SharePoint are set up as "single text fields".

     

    • 1st drop down = Distinct(FleetList,Division)
    • 2nd one = Distinct(Filter(FleetList, Division = Dropdown1.Selected.Result),Depot)
    • 3rd one = Distinct(Filter(FleetList, Depot = Dropdown2.Selected.Result),ClassOrRSPrj)
    • 4th one = Has been working, but waiting to fix 1/2/3 write back

    I will look at your fix - Its crazy that its so complex to simply get a result from a drop down, back to the list, after its been bound! All of the above works, just not the write back to the main file. 

     

    I will try your solution above -

  • Community Power Platform Member Profile Picture
    on at

    Still not working, as well as surely, by introducing ID at row level, we will now see the ID many times (?) and not the distinct value?


    Back to basics;

     

    1. Goal - to pass a text result from a filtered cascading list
    2. In "receiving file" / row of main SP list, receive selected values (4) into 4 columns on one row.

    Thats all I am trying to do....The cascades work perfectly, please advise.

     

    MoreFailures.JPGShow Columns.JPG

  • Community Power Platform Member Profile Picture
    on at

    @v-xida-msft 

     

    In the attached, the file is finding a value, but its "out" by one level.....and its saying "Expected Text Value" when I hover.....(thats as its on DropDown1, but even selecting DropDown2 I still dont get the result? It seems to be trying to pull the result over, but just not doing it?

     

    AlmostWorking.JPG

  • Community Power Platform Member Profile Picture
    on at

    Here is some the 80 rows, all working ok....All I want is the "text" result to go to SharePoint !

     

    80RowDistinct.JPG

  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous ,

    Do you want to save the selected value within the Dropdown box back to the Text type column in your SP List?

     

    If you just want to save the selected value within the Dropdown box back to the Text type column in your SP List, I think there is something wrong with your formula.

    Please set the Update property of the Data card which contains the Dropdown box to followig:

    Dropdown1.Selected.Result

    If you set the Items property of the Dropdown box to following formula:

    ShowColumns(FleetList, "Title", "ID")

    Please set the Update property of the Data card which contains the Dropdown box to followig:

    Dropdown1.Selected.Title

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on at

    Yes ALL I want to do is have a cascading list from one list and return a drilled/cascaded value to a "main receiving list".

     

    Hi, I will try your suggestion, however, I have noticed the following on my current fix.

     

    As is, the data is being sent from the dropdown to the main SP List, I note that when you look at at the edit form, the edit from shows the drop down values ONLY and not the last result that was updated to it. So if a user looks at the edit form, the values that appear are NOT whats displayed in the main receiving list.

     

    I will what you suggest to see if that corrects this unwanted behaviour.

     

    • I only got the Azure connector to work once
    • Is the Azure connector the preferred route OR not, is this simply an incorrect route that I followed from other threads?
    • OR does the azure connector provide the dynamic connection between the main list and the look up list?
    • I do not see any reason why anyone would have a look up value NOT written to the main list, surely thats the point of it?
    • Am happy to stand corrected, so that others dont have to go through the wasted time I have had, on what afterall seems to be a quick and effective activity that looks to work well (if I can get the final connection working).

    Thanks

  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous ,

    After you submit a new data back to your "main receiving list", you need to add the following formula to refresh your "main receiving list" data source in your app:

    Refresh("main receiving list")

     

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on at

    HI - after a lot of research and a chat to a colleague, it turns that the Azure connector formula is "perhaps" a false lead? i.e. I have been able to get 2 remote looks up, updating to a "receiving list" with single text fields, simply by using the update in the datacard to match the selected.dropdown.result. This seems to be sending all related/cascaded records down as expected etc.

     

    When or why should the Azure connector be used? I have seen lots of things referrring to it, however, I dont believe its needed? 

     

    Can you advise? thanks

  • Gary67 Profile Picture
    6 on at

    ianf1969,

    Can you elaborate please.  I have googled this topic several times and have not came to a solution yet.

    I have a list that is that has columns with Lookup values as you do.

    I have tried the Azure connector formula route different ways based off a handful of different web site posts.

    Same situation.  I'm trying to drill down data using cascading dropdown boxes  I cannot get the data to that comes from a different list via lookup to populate.

     

    Your mentioned "I have been able to get 2 remote looks up, updating to a "receiving list" with single text fields, simply by using the update in the datacard to match the selected.dropdown.result."

     

    I followed your lead with out any luck.  The only two options that would result without an error for my datacard Update property were "my dropdown".SelectedText and "my dropdown".Select

    Both configurations did not work.

    Thanks you

     

     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard