The short story is I want to open a custom filtered view created by the standard SP UI and click a button that will iterate through all the items in the view and change the status field to complete. Is this possible using JavaScript and the standard (caml query?) that's built into the view itself. The code below is from the allitems.aspx view from my test list.
<XmlDefinition>
<View Name="{18305BB9-22DA-4BC2-8A05-F114008FA2A5}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/sites/Test/subsite/Lists/Test/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
<Query>
<OrderBy>
<FieldRef Name="ID"/>
</OrderBy>
</Query>
<ViewFields>
<FieldRef Name="ID"/>
<FieldRef Name="LinkTitle"/>
<FieldRef Name="Status"/>
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<Aggregations Value="Off"/>
<Toolbar Type="Standard"/>
</View>
</XmlDefinition>
I'll be using using a CEWP. I'm familiar with programming concepts (looping, selection statements, etc). What's killing me is the lack of knowledge pertaining to SP syntax and the available methods I could use. Any help will be appreciated.Thanks.