Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions completely specific to all editions of SharePoint 2013 and **not past or future versions**
0
votes
JQuery/Javascript to maintain scroll position after closing list item
I had a similar requirement for a client, albeit it was to maintain the state of a clicked heading in a Content Query Web Part. The key is to use localStorage.
You can find a primer on it here.
You …
1
vote
1
answer
3k
views
How to programmatically hide a field from edit form based on current user permissions
I have an event receiver that sets SPField values based on certain user choices. I'm trying to show/hide one field based on the current user's signed in permissions, but only when the list item is bei …
0
votes
1
answer
50
views
How do you skip list numbers in a rich text editor?
Refer to the image below. How do you skip numbers in a list after an image is inserted? (The next list number should be 2, not 1).
12
votes
Accepted
Get selected value of dropdown choice list item
The only way I could get the selected value of a dropdown choice column was with the following:
SPFieldChoice dropdown = item.Fields.GetFieldByInternalName("AdminGuide") as SPFieldChoice;
string sel …
6
votes
2
answers
15k
views
Get selected value of dropdown choice list item
I'm trying to get the selected value of a dropdown list item. Nothing works.
SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice;
var choices = dropdown.Choices;
var selection = dro …
2
votes
1
answer
452
views
Programmatically setting HtmlDesignAssociated value
I'm deploying a composed look from the server (including the .spcolor, .spfont, master.html and master.preview files), but I cannot get the field Associated File to select. I've tried setting it in ju …
1
vote
Accepted
Programmatically setting HtmlDesignAssociated value
Ok so apparently trying to set the field HtmlDesignAssociated from the elements.xml file in a Module won't work.
Once I took that out, the code in the event receiver worked and my master.html file n …
0
votes
1
answer
875
views
Activating web feature from event receiver doesn't do anything
I have the following code that should run to automatically disable the Minimal Download Strategy feature when a new site is being provisioned. Unfortunately nothing happens. No errors are captured in …
0
votes
2
answers
2k
views
ItemUpdated not changing field values
I have a document library that should replace the Name column with the value from an Employee column.
Code:
public override void ItemUpdated(SPItemEventProperties properties)
{
base.ItemUpdate …
0
votes
1
answer
402
views
Client side security trim DOM node
I know that you can apply security trimming to .aspx pages via the <SharePoint:SecurityTrimmedControl> control, but is there an equivalent way of security trimming dynamically generated DOM nodes - cl …
1
vote
1
answer
546
views
Feature stapling always returns item does not exist: it may have been deleted by another user
I'm attempting to create a feature stapled solution that pushes out custom branding to every new site collection created. The following code is in my event receiver:
public override void Feature …
0
votes
Accepted
Custom master page will not locate spfont file
After weeks of trying to debug this issue, a support ticket submitted with Microsoft, and no end in sight, I built a new server and deployed the solution to it.
It worked.
There is no resolution a …
3
votes
1
answer
663
views
Custom master page will not locate spfont file
I have a project that has a custom master page created from seattle.master. The only change in the .master file is the addition of a <SharePoint:ScriptLink> tag pointing to a copy of d3.min.js on our …