Tag Info

New answers tagged

0

Seems currently not possible. The Recycle method is not available via CSOM or REST API. The following items can be recycled (as of REST metadata on my SPO tenant): Folder File AppInstance ListItem List WorkflowTask


0

I don't understand why Set-SPOSite would not be an option if you are using PowerShell, install the components, you'd need to install the DLLs for the client side components anyway. #The size in MB to set existing site collections $newQuota = 10240 $sites = Get-SPOSite -Limit All foreach($site in $sites){ #If the site has a storage quota of zero, it is ...


1

You can't. The user should recreate itself automatically with the next sync from Azure to SharePoint Online directory. When it does: 1) Verify the personal site of the user. Does it look like tenant-my.sharepoint.com/personal/user_domain_com or tenant-my.sharepoint.com/personal/user_domain_com1? If there is "1" at the end: the user may experience some ...


0

As we don't get the sum option in the total section of modify list,we can do it by Adding a number column and filling it using workflow with choice's number Then for this number column we will be getting the sum option in the total section of modify list. And it's done..


-1

Looks like a cross domain issue Open the console and check the below error Refused to display 'https://login.microsoftonline.com/login.srf?wa=wsignin1%2E0&rpsnv=4&ct=1435…m%2F%5Fforms%2Fdefault%2Easpx%3Fapr%3D1&lc=1033&id=500046&guests=1&IsDlg=1' in a frame because it set 'X-Frame-Options' to 'deny'. Check more here


0

did you try to save that template using "include the content" option? When you save your SharePoint site as a template, you’re saving the overall framework of the site – its lists and libraries, views and forms, and workflows. In addition to these components, you can include the contents of the site in the template, for example, the documents ...


0

You need to enable publishing features on the site collection (SP_Site) and on the web (SP_Web) and set the alternate CSS URL to your css-file. Find "Site Collection Features" setting and enable all features with name "publishing" in it. Find "Manage Site Features" setting and enable all feature with name "publishing" in it. Find "Master Page" ...


2

When you delete a user account, the account becomes inactive. However, for approximately 30 days after you have deleted it, you can restore the account and the associated data. If your organization synchronizes user accounts to Office 365 from a local Active Directory environment, you must delete and restore those user accounts in your local Active ...


1

You need to Download SharePoint Online Management Shell and SharePoint Online Client Components SDK in order to work with SharePoint Online using PowerShell. Then you can write PowerShell code and execute it in SharePoint Online Management Shell. Following sample code creates a list (Document Library) in SharePoint online. #Import the required DLL ...


0

You can use the SharePoint Online Management Shell to efficiently manage users, sites, and organization. To run the SharePoint Online Management Shell cmdlets, you have to be a SharePoint Online global administrator. First you need to connect to SharePoint online using Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential ...


0

http://www.learningsharepoint.com/2012/09/22/get-count-of-distinct-values-in-a-column-of-sharepoint-list-with-javascript-client-object-model/ It will count the total number of distinct values in the column of a list. This is what i wanted to do, we just need to replace the listname and columnname in the code with the actual list name and column name. ...


0

If you are using Napa, then its pretty straightforward. Create a new project using napa Do your logic in the Clientapppart.aspx so that users can add it to their pages[The step is necessary if you want your app to be allowed to add as app part to pages]. Add the reference js and css files to the package


2

As far as I know, MDS is a web-scoped feature, automatically enabled upon site creation. Assuming you can't have feature staplers (maybe app stapling) in Office 365, the only way to disable MDS is post-creation, manually or scripted (PS, JS, etc.). To answer your question, on how to disable MDS for all users, a potential way is running a PowerShell script, ...


0

you can create a mandatory metadata (folder) with the same name of the folders that you have inside the DL, then use SharePoint Designer for create a little workflow that when you create a document and select a folder (is a metadata), automatically move the document inside the folder. I hope can help you


0

I got the solution with the help of this link here is the complete method function getInformation(userEmailId) { var url = _spPageContextInfo.siteAbsoluteUrl + "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='i:0%23.f|membership|" + userEmailId + "'"; $.ajax({ url: url, method: "GET", async: false, ...


0

You can retrieve workflow tasks based on the WorkflowItemId which is the item the workflow is related to. [site]/_api/web/lists/getbytitle('Workflow Tasks')/items?$select=*,WorkflowItemId&$filter=Status eq 'Not Started' and WorkflowItemId eq 25 add a filter for Status to restrict to currently running workflow.


1

You can use REST API along with CAML query. First create a CAML query that returns all item where Status equals Approved. <Query> <Where> <Eq> <FieldRef Name="Status" /> <Value Type="Text">Approved</Value> </Eq> </Where> </Query> Now use REST query using ajax. On Success method get the count of ...


7

First, you can change the O365 landing page, but you can't specify a URL for the new landing page, it's a dropdown menu. See https://blogs.office.com/2014/09/18/new-office-365-home-page-fast-access-services/ for details. Second, this setting is a per-user one. An admin cannot change this setting for all or specific users at this time. As it's said in ...


0

I don't believe there is a way to bulk upload the attachments, especially out of the box. But you can copy and paste the Excel data, if the columns match up perfectly. Then it is a matter of editing each list item (form) to attach the documents via drag/drop for that item.


0

Or this one. This uses the default Approve/Reject form and saves for all selected items. https://p3bulkapproval.codeplex.com/


0

If you're jQuery file is in a document library, ensure that Team Site Visitors have atleast Read permissions for that document library and also ensure that the jQuery file is checked-in and published (if needed).


1

I think we can use Closure to fix the problem. javascript:function sendingURL() { var ctx = SP.ClientContext.get_current(); var items= SP.ListOperation.Selection.getSelectedItems(ctx); var url = ''; var wnd; for (var i in items) { url += document.getElementById(items[i].id).getElementsByTagName('a')[0].href + '\n'; wnd = ...


1

Because you do it for each item. For each item you assing the created window to the variable wnd. So at the end, wnd is the last opened window. However, for each item you want to close wnd after 3 seconds. that works for the first time, but then wnd is already closed. You would have to assign a unique variable for each item (or do it in the item´s scope)


0

Create new content types basd on Folder parent content type for Folders 1.1 (List View) and 1.2 (Thumbnail View). Add those content types to your picture library, and change in properties of folder 1.1 default content type to "List View" content type and in 1.2 folder to "Thumbnail View" content type. Then create a view you want and select to show this ...


0

Yes, your app can be hosted absolutely anywhere, just that Azure simplifies the process. Setting it up is a pretty mean feat though, complete information of setting up IIS for doing this is thin on the ground, as you need to fully configure DNS, and purchase wildcard certificates (the backend comms is HTTPS only) Google around for "On Premises SharePoint ...


1

All Users is probably not an email enabled group. As far as I know you can send emails to email groups that have been defined in Active Directory, but not to all users authenticated to SharePoint. Check if your Active Directory contains such a group and use that.


1

One approach,You can implement SPAudit class within a console application, run it as a windows task scheduler on a daily basis and generate a report in a .txt file.


2

I also encountered the same limitation before. Unfortunately, this feature is not activated for SharePoint Online and is highly discouraged to be activated for On-Premise. The reason behind is it will create a huge amount of logs that could potentially fill up the space limitation of your site collection. For more info, refer to this link.


6

It is correct that Microsoft have removed the SharePoint public sites. Instead they suggest to get a public website from a third part provider. Right now they suggest either GoDaddy or WiX from the Office 365 admin center. The official announcement from Microsoft states the following: As part of the evolution of the Office 365 service, we periodically ...


3

If you want to change file name of an already uploaded document try below code: Get the uploaded file object using ID/ URL or which ever way suits you, then try this: ListItem item = uploadedFile.ListItemAllFields; item["Name"] = "NewName"; item.Update(); // use OverwriteCheckIn type to make sure not to create multiple versions ...


1

You can check out Item level Auditing and Audit log reports: SharePoint 2013 Item level Auditing Further, You can also test this application i.e. http://www.sharepointauditing.com/ which lets you to monitor and audit the changes made within the SharePoint Server of an entire network.


0

First I'll suggest you to read this good article on how to setup OWA in I-frame. IF it doesn't resolve your issue, you can also retrieve the Email subjects with the help of REST call and them format it in HTML to display it on your Page using CEWP. But for this to take place outlook and SharePoint should be on the same domain. Kindly read this article


0

Turned out to be an issue with RestSharp, and it overwriting the Content-Type header. The following resolved the issue: var request = new RestRequest { Method = Method.POST }; request.Parameters.Clear(); request.AddParameter( "application/json;odata=verbose", javaScriptSerializer.Serialize( requestBody ), ParameterType.RequestBody ); ...


0

How about something like this #s4-titlerow { margin-top: 0px; height: 50px; background-color: #DBDCDE; padding-top: 19px; padding-bottom: 28px; position: fixed; width: 100%; margin-bottom: 0px; z-index: 1; top:65px; } #s4-workspace { margin-top: 97px; }


1

If you navigate to the site you want to give them access to select site sittings > site permissions. Click on Create group and create a group called "Region access" or something suitable. Click on this new group and click new to add the users. Because you created this group on the sub site the users added will not have access to other areas.


1

Please use List view filter webpart instead of choice filter webpart. It will fulfill your requirement.


1

@vikash As it is an input element of type text you can get the value of it by using value property x.value


2

OpenXml is not supported in office 365, please look at Tim's response here. There are couple of workarounds to achieve the desired functionality. 1. Sandbox Solution Export the list contents into a Data Table Use JavaScript to convert DataTable into Excel 2. Client side solution Use Jquery like SpServices to call the List and fetch the items ...


0

By the moment we haven't found any other way then using general JS protecting/licensing library(like JScrambler).


1

You can use the AddFieldAsXml method (see the MSDN): ClientContext clientContext = new ClientContext(siteUrl); Web site = clientContext.Web; var targetList = site.Lists.GetByTitle("YourTargetList"); var relatedList = site.Lists.GetByTitle("FaseList"); var fields = targetList.Fields; clientContext.Load(relatedList); clientContext.ExecuteQuery(); var fields ...


0

You can use the ContentType.Add() method, as shown in this example from Microsoft: https://msdn.microsoft.com/library/office/microsoft.sharepoint.client.contenttypecollection.add.aspx Unfortunately, this method doesn't take xml, so you will have to use something like XDocument or XPathDocument to parse the xml, and then set the relevant fields of the ...


0

When Select Users: Choose Workflow Lookup for a User>While in the Selected Users:Double ClickWorkflow Lookup for a user>ChooseData Source:Current Item/Field from source:(The People Picker/Return filed as: Email Addresses,Semicolon Demlimited>ClickOK>Click*OK. In the Infopath form set the people picker to allow multiple selections and I also did the same in ...


0

Give list item id to row id (with some prefix if you need). After creating the table create event-listener for changed item. Update the list item, by getting parent row id(row id will be same as list item id) and content inside the row using jQuery. for deleting you can have one extra column with <td class='delete'>X</td> or <td ...


0

Hope you are attached this list to approval workflow. then when item created in current list the approval workflow will create the item in task list. This item title will be having value with current list item. Get the task list by title as per current item. Update TaskOutcome, status and mark fields as per Approve or Reject.


3

Replace <Geq> <FieldRef Name='vpux'/> <Value Type='Text'>" + dateNow + "</Value> </Geq> with <Geq> <FieldRef Name='vpux'/> <Value IncludeTimeValue='TRUE' Type='DateTime'><Now /></Value> </Geq> You can use <Today /> as well. IncludeTimeValue is, obviously, for ...


0

Turns out: Quick Links are different between different people/groups. The Library wasn't showing in the Quick Links so I assumed that I couldn't access it. Document Version Draft Item Security was set to Approve + Author only. When following a direct link, it would take me to an empty library. Solution: Setting Draft Item Security to 'Any user who can ...


0

You'd need to elevate the app permissions. User Profile Service use tenant/farm level permissions. <AppPermissionRequests> <AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="FullControl" /> </AppPermissionRequests>


0

On the home page of the App Catalog site, select the tile labeled either Apps for SharePoint or Apps for Office, depending on which type of app you are using. In the properties dialog form select the Featured check box.


0

You need to run a crawl and have to add your custom property in the managed metedata properties settings in the display template to get the data



Top 50 recent answers are included