New answers tagged

0

If you can download the document from BOX to local drive than you should try below steps to upload documents to SharePoint Online Document Library Copy your SharedPoint document library URL for example, http://spsite.sharepoint.com/Shared Documents Open Windows Explorer, right click My Computer and select Map Network Drive Choose drive letter ...


0

it worked for me like below : _spPageContextInfo.webAbsoluteUrl +/_api/web/lists/getByTitle('listname')/items?$Select=Author/Id&$filter=Author/Id eq '24'&$expand=Author


0

With out file reader.Like safari 5.0. call openpageindialog on link. function openpageindialog(itemid) { var url = "/_layouts/Attachfile.aspx?ListId={LISTID}&ItemId=" + ItemID; var options = { url: url, width: 600, height: 400, dialogReturnValueCallback: function(result, fileAdded){ if(result == SP....


1

There are many options to do it. Like SharePoint Designer Workflow Remote Event recievers JavaScript For your requirement follow the steps below, Step 1: Set Up the Visual Studio 2010 Project for the ECB Menu Item Solution Step 2: Create the Edit Control Block Menu Item Step 3: Create a Web Application Page to Start Conversions Step 4: Embed the code ...


0

Both options require you to possible break interference and/or create custom permission groups. Option 1. Document sets might be a viable solution for you. Here You may also want to create an item for each student. You can then restrict their rights to read only and create so they can only see their work. Option 2. might be to run a 2010 workflow that ...


0

You could do this by creating a custom permission level for the Students, and granting them only Add, View and Open permissions, and not Edit or Delete. Here is a list of all the permissions available. An easy way to do it would be by copying the "Contributor" permission level, then going in and removing the Edit Item and Delete Item permissions on your ...


1

You have to add your Farm admin Account into the Policy Web App and then try to run your script. Sometime unique permission cause this issue but if Farm admin account is in policy for web app with full control then it will work.


0

Out of the box you can use enable Item Level Permission. From UI this is available only for Custom Lists. But you can enable the same on libraries using PowerShell. This will not fully satisfy your requirements of not allowing delete. Your best option is using Workflow. Another option is to use Event Receivers.


0

try this var item = list.GetItemById(id); _context.Load(item); _context.ExecuteQuery();


0

Using powershell to configure the FBA is not easy job But Thanks to MSFt scripting guy, who wrote the extensive script to configure the FBA wither with LDAP or SQL. Script allows an IT admin to configure LDAP or SQL based FBA on SharePoint 2010/2013 web applications i.e. it makes all the changes in web.config files of Central Admin, STS and web ...


2

It doesn't work in my tenant either. A workaround is to create a SharePoint group, add the built-in group to it, and then target the link to the group you created.


0

I have previously used below mentioned code in CEWP above the list to search the result from the list & it worked fine for me in both SharePoint 2010 & SharePoint 2013. <script type="text/javascript"> function getElementsByCssClass(sTagName, sClassName) { var results = new Array(); var allTagElements = document.getElementsByTagName(...


0

Try if these steps helps you Go to Central Admin -> Manage Service Applications -> Search You will see a link to your Content Sources. If you edit that it will give you the opportunity to setup a schedule for both Full and Incremental indexing You can run a full crawl, once completed you will have results if everything is configured correctly


1

REST is only going to give the users results to what they have access to (I'm surprised the lookup column actually works as they currently don't have access to the data). If you don't give them permission, they won't see it. Set unique permissions on the list so everyone has read access, except for a group that will be responsible for maintaining the data. ...


0

for me it works in choice column like : =IF([column name]="choice value",TRUE,FALSE) or try from list validation settings.


0

You can use UserSelectionScope="GroupID" attribute to specify a group in your CAML query. GroupID is a group ID (integer). You can see property description on the MSDN field schema description page


0

Try modifying PrincipalAccountType="SPGroup" as MSDN says. String used to specify the type of principals to be resolved in a query Comma-separated : "User,DL,SecGroup,SPGroup"


0

Create field and while creating come at down near Choose from option and select Share Point Groups and define group name under Choose from:. Hope this will help you...


0

Check whether any job is using the farm account and trying to connect to the database from SharePoint server. First, try to stop 'SharePoint timer service' for some time and check whether you are still getting the error logs. If it is stopped, there must be some job which is trying to connect to the database. You can get default list of services for ...


0

You can follow there steps. This steps are just brief introduction: Create the Custom SQL Authentication Database Configure the Membership Provider Configure a SharePoint Web Application for Form-Based Authentication Add Users from IIS The detail script is given here


0

Do you see any error on the screen? Probably a consideration of index reset in Central Admin, and run a full crawl.


0

It's behaving properly trying to access the old AppServer. You need to create a new Central Admin on the new AppServer using PowerShell cmdlet New-SPCentralAdministration on your new AppServer. New-SPCentralAdministration -port 2013


0

I found a site detailing exactly what needed to be done http://thesharepointbar.com/?p=432 Basically access the appropriate term store, then access the groups that need to be deleted or have termsets deleted from them. Then you just call delete on them, and this short article I linked above will provide a foreach loop that deletes all of the termsets and ...


0

Note completely sure if this answers your question, but if you want your Search Results Web Part to only include hits from that site, place your results page in edit mode, and select the "Results" web part for editing, On the right, you will see a button for "Change Query". Typically by default the Query Text is set to {searchboxquery} You just need to ...


0

Your Search alerts might be turned off. To enable or disable search alerts Verify that the user account that is performing this procedure is an administrator for the Search service application. In Central Administration, in the Application Management section, click Manage service applications. On the Manage Service Applications page, click the Search ...


1

I would try couple of things. fill the drive space on the your index location.Try to run the indexer Fill the disk space on the Index Database Server. While index is propagation try to reboot the index server. stop the crawler while it is running, do couple of times.


1

Enable the Publishing feature on Site Collection feature and Manage Site feature. This will enable the functionality of a Publishing site.


0

For sharepoint 2016 use below format : New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer <Server name> –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Qwerty12345 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm Source : http://www....


0

Crawl Rule https://eDocs/sites/FsOperation/*.doc, *.docx etc Exclude these path. Need to verify this as it is based on file extension Remove allowed file types from Search Service Application – GLOBAL IMPACT ACROSS complete Search Services Application Remove column which contains document text from crawled property list / managed property list – GLOBAL ...


0

You'll have to use an account which has the rights to access those terms. I would go for RunWithElevatedPrivileges - however, you'll first need to make sure no "remnants" from the current account are avaiable before accessing the ServiceApplication (TaxonomySession). So I'd use: var site = ....; var navTerm = TaxonomyNavigationContext.Current....


0

Search webparts have an option whether they query synchronously (server-side; the default) or asynchronously (client-side). Still, even if you have multiple asynchronously querying webparts, chance is that users will start complaining about too much delayed loading. Therefore, consider also applying the AD group based caching. Cf. https://support.office.com/...


0

Here is the working solution - Step 1 - Edit the Library Page and Add Script Editor Web Part . Step 2 - Paste the Below Code in web part for hiding the required button from ECB Menu Item using the Button ID (Replace ID value after # ). <style type="text/css"> li.ms-core-menu-item #ID_DeleteDocItem, .ms-core-menu-separator hr { display:none; } <...


1

By default SharePoint blocks certain file types like Exe, Dll etc. You can make this configuration from Central Admin web site.


1

I was experiencing this problem as well with my co-workers. I believe this is a SharePoint designer bug. What you need to do is install the SharePoint designer update for each computer that is having this problem. Here is the link below for the update: https://support.microsoft.com/en-gb/kb/2837633


0

Just Change: from: #ms-microblogdiv .ms-microfeed-postBox { height: 100px; } to #ms-microblogdiv .ms-microfeed-postBox { min-height: 100px; } In this case with the css is trying to increase the feed box, but the css is blocking. I translate this message with google translator, rs. Hugs


0

Turned out that when associating workflow (publishing subscription) with a list it is not enough to use $wfSubService.PublishSubscriptionForList($sub, $ApprovalListId); - you need to explicitly set list id on workflow definition. I edited the PowerShell script and added the following lines: $wfDef.RestrictToType = "List" $wfDef.RestrictToScope = $...


0

Have two transitions coming out of State 1, one going to State 2 and one going to State 3. For the transition condition you need to test the outcome field from the task. I can't remember what the name of the field is exactly, it might be Outcome or TaskOutcome (I think the latter). Take the outcome, put it into a workflow variable called Var1 (or whatever ...


0

You can perform the same using either SharePoint Designer Workflow or Visual Studio workflow. If the steps are simple and can be sufficed using designer workflow then go ahead with designer workflow. If you need customisation in approach then go ahead with Visual studio workflow. Here are some links that can help you give brief idea about creating Three ...


4

You cannot change the parent content type of a content type: The Parent property is read-only. The content type ID is prefixed with the parent content type's ID. See explanation here which is for SP2010 but it works the same for SP2013. You have to basically re-create the content types using the correct parent from the start.


0

1) Your listItemsA variable is not set as a global variable, therefor the listItemsA might not exists within your success function. 2) Because the success function an async function it will mean that your cycle method can execute before the query has been succesfully retrieved. And the slidehsow ill start without your data present I would place/execute the ...


1

It is not totally clear whether you want to write the value to the list or just display the value. So here is another solution which only displays the value without actually writing it to the list: ExecuteOrDelayUntilScriptLoaded(sum, "inplview.js"); function sum(){ ReRenderListView_old = ReRenderListView ReRenderListView = function(ctx){ ...


1

Found part of the solution needed for your problem in a blog comment by some guy named Marcus (http://www.sharepointblogs.be/blogs/vandest/archive/2014/03/26/sharepoint-2013-search-open-in-client.aspx): private void EnsureOpenInClient() { UserPreference preference = UserPreference.GetUserPreference(); if (!preference.IsSettingEnabled(UserPreference....


3

Yes the site template Enterprise Search Center is available in the SharePoint Server 2013 standard edition. The features of search NOT available in standard version is: Content Search Web Part Custom entity extraction Extensible content processing Query rules—advanced actions Search vertical: “Video” Tunable Relevancy Reference: SharePoint 2013 feature ...


0

Use this Code here, because it won't move the details to the left. .ms-tileview-tile-titleTextMediumCollapsed { padding-right: 30px; }


1

You can get total of the current view from ctx.ListData.Row. var total = 0; ctx.ListData.Row.forEach(function(item) { total += item["column1"]; }); Then update the column2 using REST API function updateItem(url, oldItem, newItem) { $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + url, type: "PATCH", headers: { ...


0

I have frequently encounter this bug first reason is: we should fill required field by call correct name for example: string siteUrl = "http://sharepoint-server/"; ClientContext clientContext = new ClientContext(siteUrl); //Announcements SP.List oList = clientContext.Web.Lists.GetByTitle("Contacts"); ...


0

Is there an existing instance of that workflow running, which you need to terminate first? If so, terminate all running instances.


0

Wrap the anonymous immediate function in a document ready function like so... $(document).ready(function(){ var subsiteUrl = "site/subsite" (function($j) { ExecuteOrDelayUntilScriptLoaded(doWorkA, "SP.js"); function doWorkA() { var currCtxA = new SP.ClientContext(subsiteUrl); ... })(jQuery); });


0

In a similar case, the issue is that there was many "category" columns on Sharepoint, but only in the Site Column called "Categories", configured as type: Single line of text, could be updated directly from an event created on Outlook. Site Column options is located at: (Sharepoint Site): Site Settings\Galleries\Site Columns. This case refers to the use of: ...


1

Not so trivial after all. I played around a bit and here is what I came up with: Notes first: You will need jQuery (at least on the DispForm.aspx of the Training Calendar list and on the NewForm.aspx of the Registration list) You Registration list needs a lookup column to the Training Calendar list You will have to deactivate Minimal Download Stratgy on ...



Top 50 recent answers are included