#StackBounty: #2013 #sharepoint-enterprise #webdav SharePoint 2013 & Windows 7 Clients WebDAV issue

Bounty: 50

Apologies if this is the wrong stack to post this in.

This issue is WebDAV related, involving both SharePoint 2013, and Windows 7.
I will limit this topic to 3 Windows 7 Machines, and 2 SharePoint 2013 farms (although it affects a lot more machines).

  1. W7-1 (Windows 7 Client #1)
  2. W7-2 (Windows 7 Client #2)
  3. W7-3 (Windows 7 Client #3)
  4. SP-1 (SharePoint 2013 Farm #1)
  5. SP-2 (SharePoint 2013 Farm #2)

I have noticed inconsistent behaviour involving WebDAV, which can be summed up like this:

  1. W7-1 works on SP-1 but not SP-2
  2. W7-2 works on SP-2 but not SP-1
  3. W7-3 works on both SP-1 and SP-2

Further information about this set up:

  1. WebClient service is running on all machines
  2. SharePoint instances are root site collections (No managed paths with roots missing)
  3. Same user account used for all test, so not a permissions issue
  4. There is no firewall or proxy between client machines and SharePoint farms
  5. SharePoint sites are added to “trusted sites” in Internet Explorer
  6. Behaviour is the same for “open in explorer” view, or using a WebDAV UNC path in Windows Explorer
  7. I don’t think that this is a hotfixes issue, due to all clients working on at least one sharepoint box.
  8. All Windows 7 clients are 32 bit

I can’t figure out why the client machines can’t connect to all SharePoint boxes with WebDAV!

Can anyone help?

Edit :

Here are the errors from one of the machines:

WebDAV errors


Get this bounty!!!

#StackBounty: #2013 #rest sharedWithUsersId not returning up to date user ids

Bounty: 100

I don’t understand the response for the API call:

/_api/web/getFileByServerRelativeURL('/docs/Test.docx')/ListItemAllFields/SharedWithUsersId

I upload a Test.docx document and share it with two users.

The above rest call returns something like

{
  "odata.metadata": "http://.../_api/$metadata#Collection(Edm.Int31)",
  "value": [
    6,
    15
  ]
}

I open the share dialog in the web interface and share the document with one more user. I then get a response like:

{
  "odata.metadata": "http://.../_api/$metadata#Collection(Edm.Int31)",
  "value": [
    6,
    15,
    25    <---- User just added
  ]
}

as expected.

I open the share dialog again and remove the user that I just added. After this the response is still:

{
  "odata.metadata": "http://.../_api/$metadata#Collection(Edm.Int31)",
  "value": [
    6,
    15,
    25    <---- User has been removed from share list
  ]
}

It looks like SharedWithUsersId contains all user ids that the document has ever been shared with.

Is this the expected behavior?! Is this particular endpoint documented somewhere?


Get this bounty!!!

#StackBounty: #2013 #development #powershell #custom-permission-level which SPRoleDefinition.BasePermissions responsible to mark discus…

Bounty: 50

I have the following inside my sharepoint on-premises 2013 farm:-

  1. Team site collection, which have the publishing featured enabled.
  2. Inside the Team site collection, i added a Discussion Board list.
  3. Now users with built-in Contribute permissions, can add,edit, delete discussion board items.
  4. But seems they can not mark their own or other users items as featured, where this option is only available to site admins:-
    enter image description here

so i am planning to create a custom permission level using power-shell, which have the exact permission as the built-in Contribute, but with the ability to mark Discussion Board items as featured. so i am not sure which SPRoleDefinition.BasePermissions is responsible to enable marking items as featured? now i find this link which list the available permissions, but i can not find the permission to allow “Mark as featured”??
https://blogs.msdn.microsoft.com/sridhara/2008/06/26/what-permissions-are-behind-the-permission-levels-roles-in-sharepoint/


Get this bounty!!!

#StackBounty: #2013 #sharepoint-enterprise #sharepoint-server #calendar #sharepoint-calendar SharePoint 2013 calendar in IOS Chrome ren…

Bounty: 50

Most of the time Sharepoint Calendar in IOS Chrome browser renders differently as shown in the below screenshot which causes problem in changing views between month/week/day view programmatically

For example :

 _MoveToDate(null,"week")

In rare cases, the Calendar webpart renders correctly as it would in safari browser. But am not sure what the causes the problem.

Did anyone faced a similar issue?

Any help would be greatly appreciated. 🙂

enter image description here


Get this bounty!!!

#StackBounty: #2013 #development #event-receivers #taxonomy #farm-solution unable to get all the term sets under a term group inside my…

Bounty: 50

I am developing an ItemUpdated event receiver inside my on-premises farm 2013. and inside my event receiver i want to get all the term sets under a term group. so i define the following :-

using (SPSite site = new SPSite(properties.SiteId))
       {
             string currenweburl = properties.RelativeWebUrl;
             using (SPWeb spCurrentSite = site.OpenWeb(currenweburl))
                     {

                       Term currenttermset = null;
                       TaxonomySession txSession = new TaxonomySession(site);
                       TermStore tc = txSession.TermStores[termstorename.Trim()];
                       Group g = tc.Groups[groupname.Trim()];
                       TermSet ts = g.TermSets[termsetname.Trim()];

now getting the TaxonomySession + TermStore + Group always work fine. But when it comes to the following code TermSet ts = g.TermSets[termsetname.Trim()]; i keeping getting the following exception:-

Specified argument was out of the range of valid values.

and when i check the term store count when debugging the code i found that the count will be equal to 0. while i already have one term set which is used to store the navigation terms. here is the count inside Visual Studio:-

enter image description here

also in one case i added a new term group, then i add a new term set, and i use this term set for site navigation. now i was able to retrieve the term set correctly inside the event receiver. but when i added another term set under the same group, the code raised the above exception, and the term set count will be equal to 0 again while debugging the code. so not sure how i can get all the term sets under my term group ? same as the term sets which will be shown inside the “Site Settings” >> “Term Store Management” page?? in all ways not sure why my code was not able to achieve this ?


Get this bounty!!!

#StackBounty: #2013 #publishing-site #managed-navigation #enterprise-wiki #term-set Why enterprise wiki sub site will not have any navi…

Bounty: 100

I am working on an on-premises enterprise wiki site collection 2013. now when i created a new site collection of type enterprise wiki, i have noted that inside the navigation there is already a term set named “Site Navigation” created as follow,to enable managed navigation & friendly urls:-

enter image description here

but when i create a new sub-site of type enterprise wiki, under the above root enterprise wiki site, i have noted that the navigation is NOT set to Managed Navigation,and if i manually select to have the “Current Navigation” = “Managed Navigation”, then for a reason or another the above term set “Site Navigation” seems to be hidden from the subsite:-

enter image description here

so can anyone adivce how i can enable friendly urls inside the sub-site? and why this is not the defualt as in the root site case?

second question. Generally speaking is there any harm if 2 enterprise wiki sites share the same term set for navigation? or each wiki site should have its own term set for managed navigation & friendly urls ?


Get this bounty!!!

#StackBounty: #2013 #workflow #infopath #word Workflow form won't appear in Word for a specific computer

Bounty: 50

Environment: SharePoint 2013 On-Premises

We have an approval workflow which is triggered when a user check in a document to a major version. The workflow form is an InfoPath custom form.

Unfortunately, one specific user won’t get to see the InfoPath form when in Word (and the workflow doesn’t start at all). He is the only known user to have this issue.

Some testing revealed that its user account is not the issue as the same account is working fine on my PC. Furthermore, the InfoPath form will be shown if checking in from the SharePoint Library in Explorer. Both PC have Word 2013.

It looks like there is something related to Word which prevents the workflow from being fired / showing the InfoPath form.

I couldn’t find anything about this issue, any hint on what could be the cause?


Get this bounty!!!

#StackBounty: #2013 #workflow #infopath #word Workflow form won't appear in Word for a specific computer

Bounty: 50

Environment: SharePoint 2013 On-Premises

We have an approval workflow which is triggered when a user check in a document to a major version. The workflow form is an InfoPath custom form.

Unfortunately, one specific user won’t get to see the InfoPath form when in Word (and the workflow doesn’t start at all). He is the only known user to have this issue.

Some testing revealed that its user account is not the issue as the same account is working fine on my PC. Furthermore, the InfoPath form will be shown if checking in from the SharePoint Library in Explorer. Both PC have Word 2013.

It looks like there is something related to Word which prevents the workflow from being fired / showing the InfoPath form.

I couldn’t find anything about this issue, any hint on what could be the cause?


Get this bounty!!!

#StackBounty: #2013 #workflow #infopath #word Workflow form won't appear in Word for a specific computer

Bounty: 50

Environment: SharePoint 2013 On-Premises

We have an approval workflow which is triggered when a user check in a document to a major version. The workflow form is an InfoPath custom form.

Unfortunately, one specific user won’t get to see the InfoPath form when in Word (and the workflow doesn’t start at all). He is the only known user to have this issue.

Some testing revealed that its user account is not the issue as the same account is working fine on my PC. Furthermore, the InfoPath form will be shown if checking in from the SharePoint Library in Explorer. Both PC have Word 2013.

It looks like there is something related to Word which prevents the workflow from being fired / showing the InfoPath form.

I couldn’t find anything about this issue, any hint on what could be the cause?


Get this bounty!!!

#StackBounty: #2013 #workflow #infopath #word Workflow form won't appear in Word for a specific computer

Bounty: 50

Environment: SharePoint 2013 On-Premises

We have an approval workflow which is triggered when a user check in a document to a major version. The workflow form is an InfoPath custom form.

Unfortunately, one specific user won’t get to see the InfoPath form when in Word (and the workflow doesn’t start at all). He is the only known user to have this issue.

Some testing revealed that its user account is not the issue as the same account is working fine on my PC. Furthermore, the InfoPath form will be shown if checking in from the SharePoint Library in Explorer. Both PC have Word 2013.

It looks like there is something related to Word which prevents the workflow from being fired / showing the InfoPath form.

I couldn’t find anything about this issue, any hint on what could be the cause?


Get this bounty!!!