cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
showdwar
Frequent Visitor

ETAG Mismatch - Previously Posted Solutions Not Working

Hello, for give my frustration.  I have been working on this issue for days now and the solutions don't seem to be working.

 

Two solution references seem to be Article 1 and Article 2.

 

I think I am doing what both of these articles show the fix to be.  However, results are still an ETAG error.

 

DataSource is a SharePoint List.

This is a Custom Canvas App.


List Screen (Using a Data Table Control):

Navigate(
    ScrDetail,
    ScreenTransition.Fade,
    {
        FormState: "View",
        SelectedNCR: DataTableNCR.Selected
    }
);

 

Save Button.  First save is good.  Second results in ETAG.

Refresh(B20);
UpdateContext({SelectedNCR: LookUp(B20, ID = SelectedNCR.ID)});

Patch(
    B20,
    LookUp(B20, ID = SelectedNCR.ID),
    {
        Responsibility: Dropdown_Responsibility.Selected,
        ResponsibilityText: Dropdown_Responsibility.Selected.Value
    }
)

 

A reference IDs:2019-08-21_14-47-26.png

 


Based on the referenced post and this post, the solution seems to be refreshing the data source before updating.  Yet I am doing this and it is still producing the ETAG error.

 

Does anyone have any suggestions or see what I am doing wrong compared to the referenced solutions?

 

Thank you in advance for any recommendations.

~Jason

2 REPLIES 2
Jeff_Thorpe
Super User
Super User

Is B20 a data source or a collection and if it is a collection how is it set?



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

B20 is a SharePoint List datasource.  It is bound to the Data Table.

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (89,356)