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

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

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,437)