Tag Info

New answers tagged

0

Check that this is a browser-enabled form. It may be a Filler form that has been uploaded to the library and can only be edited with IP Filler.


0

Hi,you should use Jquery or Java script to get this done easily, Here you go, ' var newTask; $('#btnAddTask').click(function () { var taskTitle = $('#txtTaskTitle').val(); var taskDesc = $('#txtTaskDescription').val(); var ctx = new SP.ClientContext.get_current(); var taskList = ctx.get_web().get_lists().getByTitle('Tasks'); // use ...


0

On the site collection navigate Site Actions -> Site Settings. under Site Collection Administration you will find Site Collection Audit Settings. In the Document and Items section check the Opening or downloading documents, viewing items in lists, or viewing item properties check-box and click OK. Now SharePoint is logging all view/downloads. As viewing a ...


1

Not really. When a user removes a SharePoint-Hosted app in SharePoint Online, it goes into the recycle bin and the uninstall event does not fire. The uninstall event will fire when the app has been removed from both stages of the recycle bin.


1

You don't need to load unless you want to read data. You can simply set_item then update. Then when you do executeQueryAsync the changes get committed in the back end. Here is updated code function createListItemProdus() { var clientContext = new SP.ClientContext.get_current(); var oList = ...


2

First Add an img element to display Images <img id="imageRotator" > Now use below JavaScript function to get Images var arrayOfImageObjects = new Array(); var currentImageIndex = 0; function GetImagesAndRotate() { var url = "http://siteurl/_api/web/lists/getbytitle('ImageLibrary')/items?$expand=File" jQuery.ajax({ url: url, ...


1

No, you cannot create timer jobs in O365 using NAPA tools. NAPA simply allows to creates SharePoint Hosted apps using browser. The tool is very restricted compared to Visual Studio.


2

The error: The remote server returned an error: (403) Forbidden. occurs since authentication is required for this operation in SharePoint Online. You could utilize SharePointOnlineCredentials class from CSOM API for that purpose. The following example demonstrates how to download RSS feed from SharePoint Online and save it into file. Complete ...


0

This is by design, please read carefully the description: "Wait for all" completion criteria will return outcome that received the most number of responses. It is unclear what you actually want to achieve so please choose one following If someone rejects the workflow stops and tasks in progress are cancelled. Set "Wait for first response", required ...


0

I think you'd use SharePoint Online Management Shell insteed of Power Shell. Link to download : https://www.microsoft.com/en-us/download/details.aspx?id=35588 I have found this post that could help you to manage term store and groups using PowerShell online here Hope this could help!


0

From MSDN Parameters strUrlType: System.String Specifies the server-relative URL or web-relative URL of the site to open. If strurl is empty, the top-level site must be opened. So what you need to pass as a parameter to OpenWeb is the relative URL. Instead of "https://xxxxxxxx.sharepoint.com/Customer Orders" it is just "Customer Orders"


0

For now this is what I get from another forum: For working with SPO we need SharePoint Server 2013 Client Components SDK. After that we can start to work with SPO, exsample to get context, and get all properties of site: siteUrl = "https://yourtenantname-admin.sharepoint.com"; userName = "you@company.com"; password = "password"; using (ClientContext ...


1

I feel stupid answering my own question seven hours after posting, but in my efforts on another Subsite to Allow management of content types (Under Advanced Settings of a List) so I could hide the default column I accidently altered this content type on the top level site. I changed the Status of the Document content type to Hidden and saved. When I noticed ...


1

I have accomplished this the poor mans way by Creating a final Stage called Done. The only thing the Done Stage does is Transition to stage Go to End of Workflow. Then it is easy enough in my List or Library to use views to show WF that are NOT in the Done Stage


0

This error occurs since you are trying to access host web from app context. SP.AppContextSite object is intended for that purpose, the below example demonstrates how to retrieve current user from host web: var hostUrl = 'https://tenant-my.sharepoint.com'; //specify host web url var scriptsUrl = hostUrl + '/' + _spPageContextInfo.layoutsUrl + '/'; ...


0

The ItemCount function could be applied to List resource, for example: /_api/web/lists/getbytitle('<list title>')/ItemCount but not to ListItemCollection resource You could consider the following options of getting items count for list items: Option 1 How to return items count from json result: var endpointUrl = ...


0

When you query /_api/web/Lists/getbytitle(\'Items\') basically it returns SPList object. That object as ItemCount property. The value of the ItemCount property includes folders within a list/document library, as well as items/files within subfolders. For filtering we need to apply filter on Items so query ...


1

Changing the language in which user sees a given site depends on several elements (like user's display language and site's supported languages). It is a complex code. As for adding a button, you can use Script Editor: http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/05/20/how-to-use-script-editor-web-part-in-sharepoint-2013.aspx For ...


0

There are two potential resolutions for this. If the page was working at some point in time, use Version History to revert to the last known working version: Go to Site Actions -> View All Site Content. Click Pages. Click the dropdown menu next to the .aspx page in question. Select Version History. Preview older versions to see if the issue was recently ...


1

SPIislatency is the time in milliseconds taken in the front-end Web server after the request has been received the front-end Web server, but before the Web Application begins processing the request. This value is stored in partitioned tables for the RequestUsage logging provider. This view can be queried to return data pertaining to all client web requests ...


3

Try this $userName = "UserName" $password = "Password" $pageUrl = "PageUrl" $localPath = "C:\Path\FileName.aspx" #create secure password $sPassword = $password | ConvertTo-SecureString -AsPlainText -Force $webClient = New-Object System.Net.WebClient $webClient.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($userName, ...


0

Take a look at the Office 365 patterns and practices site provisioning project. It handles provisioning artifacts in to SharePoint Online based off an XML file and I believe it also has export capability to. https://github.com/OfficeDev/PnP/wiki/Monthly-Update-2015-April


0

SharePoint Online doesn't support Farm Deployments. Solution to your problem is to host your WCF service some where say Azure. Then use Client Side Object model to query information from SharePoint.


1

Add following to your REST query $select=FileLeafRef


1

You can redirect in two ways Using server-side use Response.Redirect(URL) Using client-side use window.location.href = url; You can't add a Page inside UserControl. User Control basically lives inside a Page.


0

Apps are virtually a differnet domain than the host site. Hence browsers dont allow cross domain requests. In order to circumvent this you need to either use sp.RequestExecutor.js or SP.APPContextSite() instead of the standard procedure. This is the structure of the URL if using SP.AppContextSite var url = appwebUrl + ...


0

Maybe I didn't understand the question... What content is in Access DB? If it's one table and you want to import it on your SharePoint like Custom List, you can save table from Access like Excel and Import it on SharePoint. If it has several tables what do you want to do on SharePoint: one list, several list or another content?


0

No, you should be able to share any file that is already uploaded regardless of size. The max file size you can upload is 2GB (see limitations and boundaries), but the file size can grow on the server above the 2GB limit. Some files, like OneNote, can get large due to versioning, but the actual file size of the current version can be small allowing the ...


1

https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spquery.expanduserfield(v=office.14).aspx Whether to use special rendering for user field values that makes them include the login name, e-mail address, Session Initiation Protocol (SIP) address, and title, when present, which causes a user field to behave as a multilookup field. You don't need ...


0

Searching for a solution, the only source that seems to provide a full answer is Paul Ryan blog here. The process he describes requires three steps: Get the security token Get the access token Get the request digest for each step he describes the endpoint to call and the info to post. I will try to obtain his permission to replicate the info here to ...


0

The following example demonstrates how to authenticate SharePoint SOAP Services in SharePoint Online using SharePointOnlineCredentials class : public static CookieContainer GetAuthCookies(Uri webUri, string userName, string password) { var securePassword = new SecureString(); foreach (char c in password) { securePassword.AppendChar(c); } var ...


0

I think you should look into consuming web services. You can consume them using managed code (by adding a service reference ) or using javascript (ajax call). This is a pretty comphrensive discussion around consuming the authentication.asmx towards authenticating request to sharepoint. Authenticating user with javascript The authentication.login method ...


3

The previous answer is right, you can do it also by powershell, with the property PersonalView. $site = Get-SPSite http://yourSite $web = $site.OpenWeb() $list=$web.Lists["your List name"] #get the index of your view $list.Views[0].PersonalView #true or false SPView properties If you want a more user friendly way, you can add this code into a script ...


0

I'm not aware whether it's possible to convert a personal view to a public view. But what you could do is create a new public view that is based on your personal view. List settings > Create new view > Start from an existing view


2

When you click the view in the list or library look at the URL. With a personal view you will find the URL looks something like: Site/Lists/ListName/PersonalViews.aspx?


0

I am assuming you are sharing the site via 'share' button on the top right corner. Are you able to share a site with a user. Does he/she go through the invitation process, once you share the site with him/her Are you adding the user to the right group ? This is a good starting point


0

Asusming you need yo give permision to anonymous users. to Enable anonymous access on a site To perform this procedure, an administrator must have enabled anonymous access for the Web application. If they haven't done so, the Anonymous Access option does not appear. Open the site on which you want to enable anonymous access. On the Site Actions menu ...


2

Access denied is an authorization failure from SharePoint...this might sound crazy, but you didn't specifically mention it in your post, so...did you give them access to the site first? From the error message, it doesn't sound like it.


1

You need to activate the following site collection feature: Search Server Web Parts and Templates This feature will add the Search Server Web Parts and Display Templates to your site. Search will work on most sites without this feature being activated, but if you get a message about missing templates when searching, then activate this feature. The layout ...


1

Cody, as you said that you use documents in the library when you are online. So, you don't need to sync the documents. As you are aware the sync feature makes a local copy of the document on the user's machine(file system), which you don't need. So, you are good to go. Since, you are not syncing the documents then the limit of 20,000 documents is not even ...


1

Correct, if you only use documents online then there is no need to sync the library. And if you don't sync, then you can avoid the 20,000 item (files + folders) sync limit. In fact, you can have many hundreds of thousands of files + folders in your OneDrive for Business if you don't need to sync. The sync limit is confirmed here. Note that if you do need ...


1

Here is one more link which i found for Virtual labs https://technet.microsoft.com/en-us/virtuallabs?id=bkKjrNSmdAg hope this helps.


4

After some amount of research i found a site which provides free site creation online!! https://www.cloudappsportal.com I also managed to create a free site :) This site is actually great! I gave this url and i was able to create sharepoint app for that site and deploy it!!


1

Recently i also stumbled upon the similar issue and tend to believe it is related with SP.PermissionKind.AddAndCustomizePages permission level as Andrey pointed out in his answer. This behavior is caused by Custom Script feature, basically the issue occurs when the Custom Script feature is turned off How to verify? You could verify the site permissions ...


2

No based on my understanding. SharePoint is a complex server which has lots of dependencies. What you can do is create a Developer Account in Office 365 space. Then use that for developing apps. https://msdn.microsoft.com/en-us/library/office/fp179924.aspx


0

If I understood your question, you want to add a web part to a page and set it as default. So you can add the web part in this way: # Add PowerShell Snapin $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'} if ($snapin -eq $null) { Add-PSSnapin "Microsoft.SharePoint.Powershell" } # Get the Site URL $SiteUrl = ...


0

A very good way to remove external users is with Powershell. Very often those that you removed from GUI still somehow remain. First check if there are any: Get-SPOExternalUser -SiteUrl https://tenant.sharepoint.com/sites/SITENAME -PageSize 50 Then remove the unwanted one: Remove-SPOExternalUser Thanks to this you can: re-invite the user if earlier ...


0

You should first register your app in appregnew.aspx page then update your client id while creating your app package and also update the same in Web.Config of web project. If you are attaching a Remote event receiver with your List/Library then you have to publish you web project to Azure then only you can install the app package otherwise if you are using ...


0

You can do this using following logic. If current item priority = 1. Then get recently modified list item where priority equals one. From that item take the total value and assign it to a variable. Increment value in variable and update current item Total field Else. Get recently modified list item where priority is not equal to one. From that item take ...


0

Instead of using the REST Api, you might try using PowerShell (which calls the REST API for you, and also takes care of Authentication, see below). Googling "PowerShell and R" will give you lots of ways to do that. To get PowerShell to query lists from SharePoint Online (much harder than for SharePoint On-Premises), do the following: 1.) Install ...



Top 50 recent answers are included