Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Sometimes Etag attribute is not being changed in SharePoint 2010 SOAP API response

(0) ShareShare
ReportReport
Posted on by 2

Hi Team,
Sometimes Etag attribute is not being changed in SharePoint API response after updating the document (.docx file) by Microsoft flow on SharePoint site.
Ideally, it should be changed whenever we update this document either directly or by Microsoft flow which I have created earlier. Other fields like ows_Last_x0020_Modified, ows_Modified etc are being changed in the same API response.

Please suggest if any issue with this Etag attribute.

  • Verified answer
    a-ovbord Profile Picture
    on at
    Re: Sometimes Etag attribute is not being changed in SharePoint 2010 SOAP API response

    Hi @arunlvn,

     

    Since the experience is the same if you modify the file directly or through a Flow I would say the issue would be on SharePoint.

    Please also check with the SharePoint Community.

    If you find a favorable solution, please update here so the community benefits from your experience.

     

    Thank you,

    Ovidiu

  • arunlvn Profile Picture
    2 on at
    Re: Sometimes Etag attribute is not being changed in SharePoint 2010 SOAP API response

    Hi  a-ovbord,

     

    Thanks for your prompt response.

     

    Please find the details of this issue below.

    1. Create two document libraries named 'Library A' & 'Library B' in a SharePoint site. s-0.png
    2. Create a flow to copy new and modified documents from 'Library A' to 'Library B' as described below. s-1.png
    3. Create a new document 'Arpan-1.docx' in 'Library A'
    4. Edit the document 'Arpan-1.docx' in 'Library A' and wait to be copied the changes in 'Library B' automatically.
    5. Fetch the data of 'Library-B' using SharePoint SOAP API
    6. Repeat the steps #4 & #5 and notice that sometimes Etag attribute is not being changed in API response. Kindly see some API responses for your reference below.

    Response-1

    "rs:data" = {

    ItemCount = 1;

    text = "\n ";

    "z:row" = {

    Etag = "{D36938FD-B529-469D-8353-5A99621AEDE8},16";

    "ows_AccessPolicy" = "100;#0";

    "ows_Author" = "7;#Roland Reddekop,#i:0#.f|membership|roland@megafile.ca,#roland@megafile.ca,#roland@megafile.ca,#Roland Reddekop";

    "ows_BSN" = "100;#4292";

    "ows_BaseName" = "Arpan-1";

    ...

    Response-2
    "rs:data" = {

    ItemCount = 1;

    text = "\n ";

    "z:row" = {

    Etag = "{D36938FD-B529-469D-8353-5A99621AEDE8},1";

    "ows_AccessPolicy" = "100;#0";

    "ows_Author" = "7;#Roland Reddekop,#i:0#.f|membership|roland@megafile.ca,#roland@megafile.ca,#roland@megafile.ca,#Roland Reddekop";

    "ows_BSN" = "100;#222";

    "ows_BaseName" = "Arpan-1";

    ...

    Response-3
    "rs:data" = {

    ItemCount = 1;

    text = "\n ";

    "z:row" = {

    Etag = "{D36938FD-B529-469D-8353-5A99621AEDE8},1";

    "ows_AccessPolicy" = "100;#0";

    "ows_Author" = "7;#Roland Reddekop,#i:0#.f|membership|roland@megafile.ca,#roland@megafile.ca,#roland@megafile.ca,#Roland Reddekop";

    "ows_BSN" = "100;#222";

    "ows_BaseName" = "Arpan-1";

    ...

    Note- In the above case, I have updated the document 'Arpan-1' three times. Last two response contains the same Etag value. Ideally, the Etag value should be changed every time after step #4.

     

    Please suggest on this issue. 

  • a-ovbord Profile Picture
    on at
    Re: Sometimes Etag attribute is not being changed in SharePoint 2010 SOAP API response

    Hi @arunlvn,

     

    Would you mind sharing an example of what you have constructed so we can a better understanding of the issue?

    Please add screen shots as well if possible.

     

    Thank you,

    Ovidiu

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow