Tag Info

New answers tagged

0

The following example demonstrates how to update enterprise wiki page content: function updateWikiPage(pageUrl,pageContent,success,error) { getFileWithProperties(pageUrl, function(file){ var listItem = file.get_listItemAllFields(); var itemProperties = {'PublishingPageContent': pageContent}; ...


0

All system fields in SharePoint have a SourceId of "http://schemas.microsoft.com/sharepoint/v3" defined in their SchemaXml. Any user defined fields will have a Guid. So you can filter using this to return just the user defined ones: $filter= substringof('SourceID=\"{',SchemaXml)


0

Go to site actions -> Manage content and structure. At the first page there is a list of the files with a "view" in the toolbar on the right section. Drop this down and choose "Checked out to me". This will list all the files, you can then check the check box to select all items and in the actions drop down choose check in.


0

The upper boundary for documents is 30 million documents in a library. If you are anticipating this type of growth, you will need to leverage column indexes and ensure you are using filtered views. If you try to render a view that will return more than 5,000 items, you'll throw errors. So don't give out an unfiltered All Documents view. Carefully plan how ...


0

Add the following between the <CommandUIExtension> open and close tag <CommandUIHandler Command="NewRibbonButtonCommand" CommandAction="javascript:Convertion();" EnabledScript="javascript:enable();"/>


3

Since SP.Taxonomy.Term exposes CustomProperties property you could replace the line: taxonomyTerm.get_objectData().get_properties().CustomProperties; with this one: taxonomyTerm.get_customProperties() In order to optimize the request, you could specify explicitly what properties to retrieve for SP.Taxonomy.Term object via SP.ClientContext.load method, ...


0

from msdn: $choicevalues = New-Object Microsoft.SharePoint.SPFieldMultiChoiceValue; $choicevalues.Add("Green"); $choicevalues.Add("Blue"); $i["multiplechoicefield"] = $l.Fields["multiplechoicefield"].ParseAndSetValue($i,$choicevalues); $i["multiplechoicefield"].ToString(); $i["multiplechoicefield"] = ...


0

I would recommend using a query against the change log. The "Event Receiver" really isn't it's just a timer job using the same approach detailed in the article. You could even run it all external to SharePoint from PowerShell if you wanted. No need to deploy custom code to SharePoint.


0

It sounds to me like you're a relative beginner when it comes to SharePoint workflows, but you understand what SharePoint is. Therefore I recommend these courses from Lynda.com: SharePoint Designer 2013 - Custom Workflows SharePoint Designer 2013 - Creating Data Driven Sites SharePoint Designer 2013 - Branding SharePoint Sites If you're looking for ...


-1

<style type="text/css"> #DeltaTopNavigation .ms-core-listMenu-root .ms-listMenu-editLink { Visibility:Collapse; } </style>


0

To change the default event colour for an individual calendar in SP2013, add a Content Editor Web Part to the page and apply the following css style within the HTML of the Web Part. <style type="text/css"> div.ms-acal-item { background-color: #288054; } </style> This example is applying a green background colour, but you can change the HEX ...


1

Yes, you can do it. Virto Bulk Download is using the service for creating archives. . You need to pass several parameters to this service. The url of download service is "/_vti_bin/Virto.FileDownloader.Services/DownloadService/DownloadService.svc/Download/{ListId}/{ViewId}/{archiveName}/{keepFolder}/{fileSize}?items{items}&caml={caml}"; ListId - the ...


0

You may consider creating a "Retention" Policy for your document Library : Go to the doc lib settings, and choose "Information management policy settings". Then select "Enable Retention" and configure it by adding stages (you can send the file to the bin in one stage, after a given period from file creation). If "Information management policy settings" is ...


1

Deleting files is not an answer when a SharePoint library can contain millions of files without any performance issues. List View threshold is not about the number of items in a list. It is more about the views. The number of items returned by a particular view should not exceed it as it causes performance issues. You should instead look to filter your views ...


1

If you're using SharePoint 2010 or newer you could possibly look into Information Management Policy. Policy and Retention in SharePoint Server 2010 - should still apply for SP2013 on-premise. It is however date based. Otherwise a timerjob is a pretty solid alternative as you control the circumstances of when to do what.


1

You could apply the following filter to exclude the fields that are not available in List forms: /_api/web/lists/getbytitle('<list title>')/fields?$filter=Hidden eq false and ReadOnlyField eq false


-1

For instance, My list is like below. Column1 Column2 Valuea1 Valuea2 Valueb1 Valueb2 Valuec1 Valuec2 Using Rest, If i want to filter a column by its value, Lets say Filter Column1 by the Value 'Valueb1'., then endpoint is /_api/web/lists/getbytitle('listname')/items?$filter=Column1 eq 'Valueb1' This will work for One Column only. But if I wanted to ...


0

I've found that if you use enable the minor-version functionality it will keep documents that are dropped into the library checked-out until all required metadata is entered. This prevents other users from seeing the document


0

From the Library Menu if you select Modify View and change 'Style' to 'Shaded' it will remove the drag and drop. You end up with more of a list view.


0

It turned out that the solution was very simple, the Sharepoint Client Dlls, were not set to Copy Local True, it was false. Changing this flag fixed my problem. ...


0

Go to folder C:\Windows\inf. Copy 3 files setupapi.ev1, setupapi.ev2 and setupapi.ev3 from a working server if these files are not present. Restart Cryptographic and Volume Shadow Copy service. Now run the command "Vssadmin list writers" and you will be able to see System Writers.


0

There are various solutions to this which includes: Re-register VSS dll files Simply restart the server Run the command "Sc.exe sdset eventsystem D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)" Replace the folder ...


1

This was caused by a configuration setting in the web.config of the web application in use. Specifically the 'compilation' element in the 'system.web' section had its 'batch' attribute set to true. Setting this to false corrected the issue This technet article explains the problem in detail.


1

Yes this is normal, users need the Manage List permissions, which is included in Design. The list settings specifies this: Note: Users with the Manage Lists permission can read and edit all items. You could edit the Approver permission to include this if you wanted. Site Settings, Site Permissions, Permission Levels, click Approver and tick the box ...


1

Since SharePoint JSOM is async by its nature, i would recommend you to consider the following approaches. Callback approach The following example demonstrates how to perform a chained requests for loading of list items using JSOM: function getListItems(listTitle,success,error) { var ctx = SP.ClientContext.get_current(); var list = ...


0

The issue in this case was a version mismatch between the referenced Microsoft.SharePoint.Client.dll and the SharePoint Server version. The DLL file was the RTM version (15.0.4420.x) while the server was on Service Pack 1 (15.0.4569.1000). After updating the reference, it worked as expected.


0

Why not use Relevant Document web-part.It is inside Content Rollup category When you edit a Relevant Documents web part properties, you will find the following options under "Data": Include documents last modified by me Include documents created by me Include documents checked out to me Third option will display all documents checked out to the ...


1

SPOSitePropertiesEnumerable is available only for SharePoint online not for on prem applications. You can use Search APIs to get all site collection in an on prem webapplication: See below code to start with: KeywordQuery query = new KeywordQuery(site); query.QueryText = string.Format("Path:{0} AND ContentClass:STS_Site", webAppURL); ...


0

The Issue resolved by including the bindings and client end point configuration settings in machine.config file located at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\ and also restarted the server after config changes.


1

Sounds like you need promises which are in many ways the JavaScript equivalent of the Task class in .NET Using jQuery promises your getList code would look something like this. function getList(listName) { var def = new jQuery.Deferred(); var hostUrl = decodeURIComponent(getQueryStringParameter("SPHostUrl")); var currentcontext = new ...


1

Include this Paged="TRUE" into RowLimit tag, that would be like as <RowLimit Paged="TRUE">30</RowLimit>.


1

SharePoint Password Reset from the boostsolution having a feature which i believe solve you issue. For security reasons you can force users to change their password on their next logon. This not only enforces security, but also allows users to easily remember passwords they themselves changed. SharePoint Password Reset


3

The critical component when failing over a Workflow Farm to a New SharePoint Farm (In the same domain or otherwise) is that the new SharePoint Farm must have the same Realm as the original one. Realm is by default identical to the SharePoint Farm ID, but can be changed using Set-SPAuthenticationRealm -Realm FarmIDoftheOriginalFarm. Few Caveats: You will ...


0

As long as you are using security to prevent access to the sites you can use a query such as contentClass=STS_Web. If the sites are using a specific web template you could further refine the search by only selecting Customer or Project Web Templates.


0

Continuous crawls crawl SharePoint sites frequently to help keep search results fresh. Like incremental crawls, a continuous crawl crawls content that was added, changed, or deleted since the last crawl. Unlike an incremental crawl, which starts at a particular time and repeats regularly at specified times after that, a continuous crawl automatically starts ...


0

Create a view with filter as "Checked Out To " to [Me]. This should give you desired results.


0

Finally got it, SharePoint has a really strange behavior. What i did not tell in my question was that I was using a custom Master Page. And it seemed to be the problem : I have generated the snippet for the DeltaTopNavigation through the Snippet Gallery. And apparently SharePoint has a bug with this. So, the solution is : go to seattle.master, select the ...


2

Continuous crawling helps to keep SharePoint content significantly more up to date. Continuous crawls are only available for Content Sources that use the SharePoint Sites content source type. Unlike full and incremental crawls, multiple continuous crawls can run at the same time. Also, a continuous crawl does not process or retry items that return errors in ...


0

Definetly we should not use 'id' or 'Class' for manipulating the elements. Instead we can use 'Title' for instance. Below is the example code to use. For Example i have select tag with the Title as Cars, i can get the value selected on the basis of Title name, instead of using its 'id' or 'class' <select id ="wp123123select" Title="Cars"> ...


0

Continious Crawl is introduced in SharePoint 2013. It helps in ensuring freshness of results. There are many articles where you can look into details. Difference between Continious Crawl and Incremental Scheduled Crawl? ...


-1

Not sure if you're using SharePoint online, if so try deactivating the Minimal Download Strategy feature for the site (MDS). I had the same error when creating docs from a template and this fixed it.


0

OK, i had 5 days with this problem, so i called a master in sharepoint and this was the solution: Imagine your intranet url is: contoso.com/intranet/portal so type in your browser contoso.com/intranet/porta/Pages/default.aspx Now you have acces to your Intranet, but we haven't finish yet. Once inside your intranet go to site settings ->Look and Feel -> ...


1

After trying different things, I was able to fix it by adding CDATA Comment tags on the Handlebars Template <script id="Template" type="text/x-handlebars-template"> <![CDATA[ {{#each this}} {{#if this.Banner}} <div> <div class="mainText"> {{#if ...


0

Sorry, but sharing with external users is not available in on-premises. That is a Office 365 feature only.


1

You could set up a custom permission to only give users "add" rights. Then remove their "read" rights. You could also set the default view to not show anything. You might also have to add "read only" permissions to make it work.


0

Haven't come across such requirement but I would try the steps given @ http://blogs.technet.com/b/sushrao/archive/2011/12/02/sharepoint-migrating-sharepoint-server-from-one-domain-to-another.aspx Note: the article is old and it tells you to use "stsadm -o migrateuser" for updating users, instead you should use move-SPUser cmdlet. Update: Summary of steps: ...


1

Here is an example that demonstrates how to query all search results using SharePoint 2013 Search REST API: function search(webUrl,queryText,rowLimit,startRow,allResults) { var allResults = allResults || []; var url = webUrl + "/_api/search/query?querytext='" + queryText + "'&rowlimit=" + rowLimit + "'&startrow=" + startRow; return ...


0

Try like this: userprofile["propertyname"].Add(" "); userprofile["propertyname"].AddTaxonomyTerm(taxonomyterm); userprofile.Commit();


0

No, I tried this myself and it seems the Variations option [in the ribbon banner] doesn't come up for Links, Task Lists and Calendar Lists. It seems like it's not supported. I can see some more folks have faced this issue: variations in sharepoint 2013


1

No, it's only possible using the UI I have been looking for a solution; but it seems this is not possible programmatically. You'll find workarounds where you have to create event listeners and sync the list yourself as jaloplo mentioned.



Top 50 recent answers are included