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 |
This tag is used for SharePoint apps (also known as SharePoint Add-ins) development.
1
vote
Disabling SharePoint Rich Text field of a List inside a Div tag using Jquery
You need CSS to hide. You can use display: none to hide a element
$("div").children().find("#ms-rtestate-write ms-rteflags-0 ms-rtestate-field").css({display :'none'});
To disable, try following
…
4
votes
How to check who created list view in SharePoint 2013
As you have tagged SharePoint Apps, You need the client side solution I guess. Following is the REST API solution.
@Bhaskar already mentioned that SPView does not store the info who has created it. B …
1
vote
2
answers
518
views
What are the functions of Query String in SharePoint App?
What are the functions of Query String? I just want to know: What does it do & Why it is needed? If I remove it, then what will I miss?
2
votes
Accepted
Provision/Upload file from sharepoint 2013 App to host web
Solved it following way
File added in a folder of Web App instead of Module. Then the file path becomes
var filePath = HostingEnvironment.ApplicationPhysicalPath + @"Script\at-iframe-listener.js";
An …
1
vote
Accepted
Function in an app that gives alert message when somenone updates list?
You can create a remote event receiver for this. see msdn
Check also github
4
votes
Accepted
Remove the SharePoint-Hosted App standard "Page Title & Navigation"
It is coming from a master page. The master page url can be found in Default.aspx. So add some custom css rules to hide top-bar navigation. When you create a SharePoint hosted app by default master pa …
1
vote
Accepted
Favicon in SharePoint Hosted Custom App
In hosted app, favicon is being set from the master page. In Default.aspx page, you will find the name of the master page.
<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft. …
2
votes
Accepted
How to check if Publishing feaure "SharePoint Server Publishing Infrastructure" is activated...
Based on the MSDN documentation of PublishingWeb, it seems that does not ensure SharePoint Server Publishing Infrastructure is activated or not.
You can try following.
Find all activated features i …
6
votes
Accepted
getQueryStringParameter is not defined
Definition of getQueryStringParameter should look like following. Check it in your App.js file.
function getQueryStringParameter(paramToRetrieve) {
var params =
document.URL.split("?")[1].split("&"); …
1
vote
Set Microsoft Ajax Options, SP.RequestExecutor.js
In SharePoint Hosted App, You can use jQuery.ajax directly. There is no need to use SP.RequestExecutor.js. SP.RequestExecutor.js does not have any option like
beforeSend:fn. In SharePoint Hosted App, …
1
vote
SharePoint 2013 REST query : Expand Person field in parent list
Nested query or 2 level $expand is not possible. You can check my explanation from here.
Also check REST API Limitations-Workarounds
14
votes
3
answers
27k
views
How to get SPFieldChoice values using rest api SharePoint 2013?
I have a choice field in my list. I can get it values using server object model by following way
List<string> fieldList;
SPList spList = spWeb.Lists[listName];
SPFieldChoice field = (SPFieldChoice) …
28
votes
Accepted
How to get SPFieldChoice values using rest api SharePoint 2013?
I have solved my problem following way
$.ajax({
url: "host url"+"_api/web/lists/GetByTitle('List Name')/fields?$filter=EntityPropertyName eq 'Choice Field Name'",
type: "GET",
…
2
votes
1
answer
300
views
Provision/Upload file from sharepoint 2013 App to host web
I have a module in my app named IframeListener. Under this module I have a .js file.
Now I want to upload this file to a library of my host web. My event receiver code goes below:
private void Ad …
0
votes
Add custom category in "Add a web part" section
If you are developing custom web part, then you can do so. Just add following line in your Element.xml
<Property Name="Group" Value="{category name}" />
Full code of my Element.xml
<?xml version=" …