Tag Info

Hot answers tagged

6

Ok, this is an issue with the settings for your tenant. Basically, to test this you can try to upload a document to the Style Library from the UI. You should be getting the same access denied. How to solve this? Go to the SharePoint administration page for your tenant. Access the Settings page (last item of the left navigation). Locate the section "Custom ...


2

In case you're doing development on your machine, I guess that's a case where you have a loopback check, you can get around this problem in a couple of ways, please refer to this article. The easiest one for you would be to just disable it since you're only doing development on your local machine.


2

According to Reflector SPClientCallableSettings.RequestUsageExecutionTimeThreshold property set or gets time threshold value in milliseconds. If CSOM request time execution exceeds this value, then additional information is saved into ULS logs


2

If the iframe contains content from a different domain, there's nothing you can do. Otherwise, if you are on the same domain, Javascript from the parent page can interact with the contents of the frame (change the CSS). The parent's page CSS won't affect the iframe. For more info refer to: http://stackoverflow.com/questions/217776/how-to-apply-css-to-iframe ...


2

You app will provision these files to your App Web and not your Host Web. What you need is to upload your files through JS. Here is a good write up: http://www.sharepointnutsandbolts.com/2013/05/sp2013-host-web-apps-provisioning-files.html


2

As far as I know it is not supported to apply $filter or $select expression for the endpoint: http://<sitecollection>/<site>/_api/web/lists(listid)/getItems(query) To summarize: CAML and OData query could not be combined. From another hand, since expanding of User Fields is not supported in CSOM/REST i would suggest to construct your ...


2

If the app is something you have built, then you can recompile a new version of the app, change the requested permissions in the manifest and increment the version. When you deploy the update for the app, the user will be asked to trust the app again with the new permissions.


1

The url is generated when you deploy the App, so it's not something you can control. But what you can do is to test your stuff while you are in debug mode. So you hit the F5 and launch your app, whenever you do the change you just save it in VS and refresh the page in your app. Would that solve your issue?


1

The best way is to create a class library project and add that project as references to other solutions. Now you just need to change/add the common project in a single place. Another option is to have a single visual studio solution which has multiple SharePoint projects. Also add the class library project into the same solution. This way you need to only ...


1

I've previously gotten bootstrap to work in SharePoint without the responsive bootstrap project... Make sure your content is inside of a "container" element. All of your content should go inside of a .container or .container-fluid element, but you MUST use the container element for grid elements (such as columns) ...


1

First thing from where you read about this "having a public IP in the Virtual Machine that will host all the Apps that will developped and integrated in Sharepoint Online." (it seem someone one made this as demo or how to do) about SharePoint apps, there is two type, SharePoint hosted apps: do need to code behind and you can deploy to any SharePoint ...


1

We replaced the warmup script with IIS 8.0 Application Initialization in 2013 environment, we have no issue so far( more than 1 years). Rather, now we dont to worry if app pool recycled due to some other reasons. The IIS 8.0 Application Initialization feature enables website administrators to configure IIS 8.0 to proactively perform initialization ...


1

You can make use of the PreSaveAction override using JavaScript. PreSaveAction on a ListInstance with a custom ContentType


1

You can still copy it old school way: Read file content! getFile: function (filePath) { var deferred = jQuery.Deferred(); var req = jQuery.ajax({ url: filePath, type: "GET", cache: false }).done(function (fileContents) { if (fileContents !== undefined && fileContents.length > 0) { ...


1

For those searching for the answer to the TITLE of this post, no, you cannot get an SPFile (or client equivalent SP.File) that represents a file in any virtual directory (/_layouts, /_images, /_vti_bin, etc). The reason being is that an SPFile is tied to an SPListItem, which lives in an SPList. All of these objects live in the content database (witchcraft ...


1

Could you check the license information? If the app was installed from the store, it would have an associated license. If it was installed manually through the app catalog, it wouldn't. https://msdn.microsoft.com/en-us/library/office/jj164035.aspx#SP15Implementlicense_bk_implement


1

You are right, SharePoint Foundation 2013 does not support the User profile Services as well as App Management Service Application which are mandatory pre requisite for the High trust app.


1

One good solution for this is cloudHQ: https://www.cloudHQ.net/sync/office365_sharepoint/dropbox - it easy setup and you can sync with multiple Dropbox accounts. You can also setup one-way or two-way sync. You can also chose automatic archiving of changes (as backup). With cloudHQ, you get the following: Real-time sync One-way or two-way sync (i.e., pick ...


1

Your SharePoint Servers are your "app" servers. You will create a wildcard CNAME record in your app domain that points back to your SharePoint server DNS record. Make sure that the the farm that receives it does not have host headers configured on the webapp that the requests will be delivered too. On production using SSL you will have to extend or ...


1

SP.Field.title property returns display name of the field based on the language that is used on the current site (SP.Web.language property). So, i believe that your assumption: It looks to me like get_title() returns the Locale DisplayName of the App Web instead of the Host-Web.. is correct. In order to return field display name for specific ...


1

Contexttoken, You can get the context of host web and app web to use SharePoint lists and libraries from your tenant and app as well. Contexttoken is mostly used in low-trust provider hosted app. In low-trust provider hosted app, you have to use Azure to host your web application. Azure is providing SPAppToken in url, by getting that you can get ...


1

According to wss.xsd (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML), the parameters for ClientWebPart are Name, Description, Title, DefaultWidth and DefaultHeight. There might not be a solution to do this from elements.xml You can set the chrome type manually or using code, but I believe you already know that. For code ...


1

you need to add the "SharePoint:SharePointForm" control to your page body. enter link description here



Only top voted, non community-wiki answers of a minimum length are eligible