#StackBounty: #2013 #list #development #administration #auditing "Content type and list modifications" report is showing some…

Bounty: 100

I am working on a team site collection where i have enabled the publishing features inside it. and i have enabled the reporting features inside it as follow (Site Collection Administration >> Site collection audit settings):-

enter image description here

Now i did this last week. today i access the “Content type and list modifications” report, where this report as its description should indicates

This report shows all events that modified content types and lists in
this site.

now since i am the only site admin and the only user who have full control on the sites, and i did not make any changes to the lists and/or content types since last week.so i was expecting that the report will be empty.. but when i have generated the report i have noticed that there are many entries which have the following characteristics:-

All entries which i am referring to share the following values:-

Item Type = List

Event = Schema Change

then for the List i got these 4 values:-

Document Location = Access Requests
OR
Document Location = Relationships List
OR
Document Location = Variation Labels
OR
Document Location = Reports List

First Question. so i am not sure what are these 4 lists ? as i did not add these lists nor i can find them inside the site content.

Second Question. now for all the report entries the username is the system account.. which gives me an indication that these lists get modified as part of other actions within sharepoint itself.
but which makes me worried is that there is a single entry which have its UserID not equal to the system account, and have the following details:-

Item Type = List

Event = Schema Change

Document Location = Reports List

and here is the event data:-

15.0.0.4911.0.0<FieldRef Name="ContentTypeId"/><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Report Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1" Version="1" RowOrdinal="0"/><FieldRef Name="_ModerationComments" ColName="ntext1"/><Field ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" ReadOnly="TRUE" Type="Computed" Name="LinkTitleNoMenu" DisplayName="Report Title" Dir="" DisplayNameSrcField="Title" AuthoringInfo="$Resources:core,Linked_Item;" EnableLookup="TRUE" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitleNoMenu" FromBaseType="TRUE"><FieldRefs><FieldRef Name="Title"/><FieldRef Name="LinkFilenameNoMenu"/></FieldRefs><DisplayPattern><IfEqual><Expr1><LookupColumn Name="FSObjType"/></Expr1><Expr2>1</Expr2><Then><Field Name="LinkFilenameNoMenu"/></Then><Else><HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML><URL/><HTML><![CDATA[" onclick="EditLink2(this,]]></HTML><Counter Type="View"/><HTML><![CDATA[);return false;" target="_self">]]></HTML><Column HTMLEncode="TRUE" Name="Title" Default="$Resources:core,NoTitle;"/><IfEqual><Expr1><GetVar Name="ShowAccessibleIcon"/></Expr1><Expr2>1</Expr2><Then><HTML><![CDATA[<img src="/_layouts/15/images/blank.gif?rev=23" class="ms-hidden" border="0" width="1" height="1" alt="$Resources:core,OpenMenuKeyAccessible;"/>]]></HTML></Then></IfEqual><HTML><![CDATA[</a>]]></HTML><IfNew><HTML><![CDATA[<img src="/_layouts/[%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%]/images/new.gif" alt="]]></HTML><HTML>$Resources:core,new_gif_alttext;</HTML><HTML><![CDATA[" class="ms-newgif" />]]></HTML></IfNew></Else></IfEqual></DisplayPattern></Field><Field ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" ReadOnly="TRUE" Type="Computed" Name="LinkTitle" DisplayName="Report Title" DisplayNameSrcField="Title" ClassInfo="Menu" AuthoringInfo="$Resources:core,Linked_Item_With_Menu;" ListItemMenuAllowed="Required" LinkToItemAllowed="Prohibited" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle" FromBaseType="TRUE"><FieldRefs><FieldRef Name="Title"/><FieldRef Name="LinkTitleNoMenu"/><FieldRef Name="_EditMenuTableStart2"/><FieldRef Name="_EditMenuTableEnd"/></FieldRefs><DisplayPattern><FieldSwitch><Expr><GetVar Name="FreeForm"/></Expr><Case Value="TRUE"><Field Name="LinkTitleNoMenu"/></Case><Default><HTML><![CDATA[
]]>]]></HTML><HTML><![CDATA[
]]> ]]>]]> ]]>]]></HTML></Default></FieldSwitch></DisplayPattern></Field><Field ID="{5f190d91-3dbc-4489-9878-3c092caf35b6}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="LinkTitle2" DisplayName="Report Title" DisplayNameSrcField="Title" ClassInfo="Menu" AuthoringInfo="$Resources:core,Linked_Item_With_Menu; (old)" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkTitle2" FromBaseType="TRUE"><FieldRefs><FieldRef Name="Title"/><FieldRef Name="LinkTitleNoMenu"/><FieldRef Name="_EditMenuTableStart"/><FieldRef Name="_EditMenuTableEnd"/></FieldRefs><DisplayPattern><FieldSwitch><Expr><GetVar Name="FreeForm"/></Expr><Case Value="TRUE"><Field Name="LinkTitleNoMenu"/></Case><Default><Field Name="_EditMenuTableStart"/><SetVar Name="ShowAccessibleIcon" Value="1"/><Field Name="LinkTitleNoMenu"/><SetVar Name="ShowAccessibleIcon" Value="0"/><Field Name="_EditMenuTableEnd"/></Default></FieldSwitch></DisplayPattern></Field><FieldRef Name="File_x0020_Type" ColName="nvarchar2"/><Field ID="{8c4cfe39-587c-45b0-9754-71810a01c5e2}" Type="Text" DisplayName="$Resources:cmscore,ReportsListTitleResourceId" Required="FALSE" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="_x0024_Resources_x003a_cmscore_x" Name="_x0024_Resources_x003a_cmscore_x" ColName="nvarchar3" RowOrdinal="0" Version="1"/><Field ID="{9a0a9832-8bf1-4de4-a809-c97bd256fbe7}" Type="Text" DisplayName="$Resources:cmscore,ReportsListTitleResourceId" Required="FALSE" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="_x0024_Resources_x003a_cmscore_x0" Name="_x0024_Resources_x003a_cmscore_x0" ColName="nvarchar4" RowOrdinal="0" Version="1"/><Field ID="{33254558-5f60-43a1-8c30-f02bee20d03a}" Type="Text" DisplayName="$Resources:cmscore,SmtListType" Required="FALSE" Description="$Resources:cmscore,SmtReportsListTypeDesc" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="_x0024_Resources_x003a_cmscore_x1" Name="_x0024_Resources_x003a_cmscore_x1" ColName="nvarchar5" RowOrdinal="0" Version="1"/><Field ID="{0500c41a-0f80-4b01-9892-7c085eb461ab}" Type="Text" DisplayName="$Resources:cmscore,SmtCamlQuery" Required="TRUE" Description="$Resources:cmscore,SmtReportsQueryDesc" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="_x0024_Resources_x003a_cmscore_x2" Name="_x0024_Resources_x003a_cmscore_x2" ColName="nvarchar6" RowOrdinal="0" Version="1"/><Field ID="{61cbb965-1e04-4273-b658-eedaa662f48d}" Type="TargetTo" Name="Target_x0020_Audiences" DisplayName="Target Audiences" Required="FALSE" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="Target_x0020_Audiences" ColName="ntext2" RowOrdinal="0" Version="2"><Customization><ArrayOfProperty><Property><Name>AllowGlobalAudience</Name><Value xmlns:q1="http://www.w3.org/2001/XMLSchema" p4:type="q1:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">true</Value></Property><Property><Name>AllowDL</Name><Value xmlns:q2="http://www.w3.org/2001/XMLSchema" p4:type="q2:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">true</Value></Property><Property><Name>AllowSPGroup</Name><Value xmlns:q3="http://www.w3.org/2001/XMLSchema" p4:type="q3:boolean" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">true</Value></Property></ArrayOfProperty></Customization></Field><Field ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Type="Text" Name="Report_x0020_Description" DisplayName="Report Description" Required="FALSE" SourceID="{128d73ab-33f7-4d9f-84e0-a8ad33898c57}" StaticName="Report_x0020_Description" ColName="nvarchar7" RowOrdinal="0" Version="1"/>

now this user who performed this event have Read permission on the site.. so not sure how he can modify the schema for the Reports list !!

so can anyone advice on my above 2 questions? and am i having problems?


Get this bounty!!!

#StackBounty: #list #authentication #sharepoint-rest-api Sharepoint 2010 get REST API. Fetch Data behind authentication using Javascript

Bounty: 50

I have the SharePoint list url to fetch the data(XML /JSON). To access that url I have username and password.

In IOS native development using nsurl to pass username and password. Able to connect and get the data.

If am use the same in JavaScript HTTP GET or POST. How do authenticate? to get list data

Any one can help me.


Get this bounty!!!

#StackBounty: #list #development #administration #alert #configuration Invitation email when creating an alert on an item will sometime…

Bounty: 50

I was facing an issue reported by our customer. here are the current settings:-

  1. we have team site inside sharepoint on-premises enterprise 2013.
  2. when users creates alters on list items, and they specify other users inside the alert “Send Alerts to” section as follow:-

enter image description here

  1. the users defined inside the “Send Alerts to” will receive and invitation email.
  2. But the PROBLEM is that sometimes this invitation email subject will contain the List Name + Item Title. while on other lists the invitation email will only contain the item title.
    so the subject of the alert invitation email can be:-
An alert for 'ListTitle: ItemTitle' has been created

OR

An alert for 'ItemTitle' has been created

where in the first email subject it will contain the list title followed by the item title. while in the second email subject it will contain the item title only.

now i keep searching for this issue for around 2 days but could not indicate the reason. until today i have capture the first hint. now all our sub-sites facing this problem are created using a site template. where this site template contain 5 lists. now if users set an alert on an item inside the 5 lists which were added as part of the site template then the alert invitation email will contain both the ListTitle+ItemTitle. while if we create a new list specifically under a subsite (in other word the list is not part of the site template), then when users set an alert for an item inside this new list, then the invitation email subject will only include the item title…so can anyone adivce what is causing this confusion ??


Get this bounty!!!

#StackBounty: #list #authentication #sharepoint-rest-api Sharepoint 2010 get REST API. Fetch Data behind authedication Using Javascript

Bounty: 50

I have the SharePoint list url to fetch the data(XML /JSON). To access that url I have username and password.

In IOS native development using nsurl to pass username and password. Able to connect and get the data.

If am use the same in JavaScript HTTP GET or POST. How do authendicate?

How to get data NTLM any one help me, not clear how to approach ( NTLM / Post xml to get token) came across lot of posts not clear.

Any one can help me.


Get this bounty!!!

#StackBounty: #list #workflow #calculated-column Updating a field in a list with a number from a different list

Bounty: 50

I’m working on SharePoint 2010. I have two lists, Devices and Knownissues. In Devices I have the ID column with an item generated number which I want to update in a column in Knownissues called DevicesID.

I already have a Lookup field in Knownissues. I tried updating the field using Nintex Workflow but have been banging my head against a brick wall (the best result I can get is returning ‘1’ and not the actual number in the ID column). Surely there’s a straight forward way of doing this? I was thinking a calculated field, but I am happy to hear suggestions.


Get this bounty!!!

#StackBounty: #2013 #list #sorting #grouping Showing top 5 with grouping

Bounty: 50

I have a list that collects customer sales data (multiple records can contain the same customer). I am trying to create a view that will show the Top 5 customers based on sales. I need to have the customers grouped, and the sales data summed. Is there an OTTB way to accomplish this?

enter image description here

So I want to show the top 3 customers based on sales


Get this bounty!!!

#StackBounty: #2013 #list #sharepoint-addin #custom-list ContentType List Forms Links from Site Collection to Add-In

Bounty: 50

I am currently developing a SharePoint Add-In which has used Add-In internal Lists in which it saved its data. But I am now trying to move the lists out of the Add-In to have more possibilities in administration of these lists such as Event Listeners or Timer Jobs.

I have Custom ContentTypes on one of these Lists and I am also using List Form here to redirect a User to a specific Page within the Add-In with the ListItem-Data.

I am not sure if it is possible to fully move all of the lists out of the Add-In with the Forms and the ContentTypes. The thing is that I am currently redirecting the user to a relative Path of the Add-In if he clicks on a ListItem. But as soon as I move to outside-located Lists I cannot provide a static URL into the Add-In (Which I need for my functionality). (SharePoint always change the URL of the Add-Ins)

Is my problem clear and is here anyone who can help me?

EDIT: I only have the following link besides the “pure” app-url:
http://server:port/sites/mysite/_layouts/15/appredirect.aspx?instance_id=6691d7f1%2D466e%2D4804%2Da9f4%2Dec896a6a19cd

But with this URL I cannot provide any parameters to my sharepoint-hosted app/add-in.


Get this bounty!!!

#StackBounty: #list #powershell #site-column #validation How to add custom validation for multiline text

Bounty: 50

I have created the list with fields like Title(single line text), URL(multiline text).I want to set custom url validation for URL column. how to achive this in powershell


Get this bounty!!!

K random combinations of N elements in List in Java

Given a List of N Strings, generate and print all possible combinations of RĀ elements in array and return X random combinations from the result. Following is the code for implementing it: