Tag Info

Hot answers tagged

6

Since your "today" variable is a JavaScript date object, you can get the string representation by calling the toISOString() method. ...$filter=StartDate ge datetime'" + today.toISOString() + "' and ...


5

Yes, being a straight modification on a default SharePoint file, it will bring your farm to an unsupported state


4

Short answer. No. Create a Search centre and configure your refiners there. The OOTB ossearch.aspx page is not editable.


4

Yes, you can. Crawling file shares is very easy to set up, and permissions are accounted for - so there is no risk that users find information they don't have access to. In Central Admin Search Service Application, add a new Content Source. Specify your file server and set up a schedule. Do a full crawl and you're up and running in no time.


4

I followed this example: https://www.nothingbutsharepoint.com/sites/eusp/pages/use-font-face-in-rich-text-editor-of-sharepoint-2010.aspx It worked for me in our O365 site collection with the only exception that I had to bump up the class to 15. .ms-rteFontFace-15 { -ms-name: "Bangers"; font-family: "Bangers", arial, helvetica, sans-serif; }


4

Office 365 is a cloud offering, you don't install it anywhere local. Subscription options can be found here.


3

JSOM SP.Folder Class does not provide MoveTo method as SSOM SPFolder class does. But SP.File.moveTo(newUrl, flags) method could be utilized to move folder content (files) from source folder into destination as demonstrated below. How to move files via JSOM function moveFiles(folderSrcUrl,folderDescUrl,success,error) { var context = new ...


3

Couple of things to check: Make sure "Microsoft SharePoint Foundation Incoming E-Mail" timer job is running on the server where SMTP confgiured. From Central admin, Incoming email setting > advance setting, make sure drop folder path added here. Make sure Timer Services having the correct permission on drop folder.


3

This is a security feature from Microsoft, which are explained in detail here: DisableLoopbackCheck & SharePoint: What every admin and developer should know. It can sure be annoying but Microsoft did put it there for a reason. However, if you are on a development or staging environment you could disable it. But never ever do it in a production farm as ...


3

I answered the question here (not exactly a duplicate, since that was in regards to the Search REST API, and I happened to give an answer for basic REST). Here is how you filter dates in REST: $filter=StartDate ge datetime'2014-01-01T00%3a00%3a00' This filters for items created after 01-Jan-2014, 00:00:00. So to filter between two date ranges, simply ...


3

The proper syntax for loading SP.List.defaultViewUrl Property: context.load(list,'DefaultViewUrl'); Working example var context = SP.ClientContext.get_current(); var list = context.get_web().get_lists().getByTitle(listTitle); context.load(list,'DefaultViewUrl'); context.executeQueryAsync( function(){ console.log(list.get_defaultViewUrl()); ...


3

Use windows explorer, in 2010/2013 it's found on the library tab of the library (and only works in IE on windows)


3

I know this is not quite an answer you may be looking for, but why not rename doc2.pdf to doc1.pdf and then rename it in SharePoint itself?


3

This is very much common issues now days. Couple of things to try to force SharePoint that all servers having SP. run this command on the server where CU missing Get-SPProduct -Local if still facing the issue, try to reboot the server


3

See http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/12/09/sp2010-search-query-load-balancing-explained-part-2.aspx (see the special note on SharePoint 2013) As per the article in SP2013 you can stop SQ&SS on 3 servers, and just leave it running on the server running on Query Processing Component. you can stop it using Manage services on ...


3

On Demand scripts are the one which we load only when we need it in a page. We put a reference to it but it won't load until we call for it instead of the usual one which gets loaded every time the page loads. A very good blog on this could be found here ExcuteOrDelayUntilScriptLoaded does not trigger loading an on demand script (SOD)! It schedules an ...


3

You can still use Visual Studio to create SharePoint Apps without requiring SharePoint installed locally. That is a benefit of using the App Model. Get the tools for VS2013 here The only case that would require SharePoint installed would be if you were creating Server side code (which you can't do in SharePoint online anyways) or Sandboxed solutions, which ...


3

The Name column cannot be referenced in a calculated column. You can see proof of this by looking through the list of Columns available when creating or editing your calculated column formula. If you want to work around the issue, create a second column and then use a workflow to copy the Name column to the new column you created. The new column can be ...


2

The simple answer is: It just works. You can enable the self site creation feature using central administration (also set "Start a Site" to "be hidden from users"). You need a root site collection in the primary web app (even if the web app is not used and is only a container for HNSC) to set this in the central admin page. If you don't want a root site ...


2

<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Pages"> <File Path="Pages\Tasks.aspx" Url="Pages/Tasks.aspx" ReplaceContent="TRUE"> <View List="Lists/WorkflowTaskList" BaseViewID="5" WebPartZoneID="TaskListZone" WebPartOrder="1"> <![CDATA[ <webParts> ...


2

If nothing above has helped, then I would check whether your application pool and timer service accounts have permissions to the drop folder. Probably they don't. Some time ago it was the cause of the issue in my case. To configure this permissions do the following: Verify that you have the following administrative credentials: You must be a member of ...


2

If you have more than one APP Server, check whether the drop folder is on the same server where the timer is running, else you have to share the folder and add the path in Central Admin. Reference : http://bernado-nguyen-hoan.com/2013/06/18/solving-sharepoint-2013-incoming-mails-stuck-in-drop-folder/


2

Have you check the following: The recovery model for the content database (a SQL Server setting) is set to full by default. Search indexing, if it kicks in, consumes resources that you might need on your WFEs and SQL servers for processing the migration of files Anti-virus software, if it is scanning every document that is uploaded, or is scanning the ...


2

To extend a Web application to use an SSL certificate, there are several steps that must be followed and configured in the right order. What i did when i was going to extend my webapplications to use SSL, i followed this guide, which i think is the best up to date. Remember to use a real certificate for production environments. And of course always test it ...


2

Add this to your SPServices call: CAMLQueryOptions: '<QueryOptions><ViewAttributes Scope="Recursive"/></QueryOptions>', So: SP.SOD.executeOrDelayUntilScriptLoaded( 'SP.UserProfiles.js', "~sitecollection/Style%20Library/Scripts/jquery.SPServices-2013.01.min.js"); SP.SOD.executeFunc('SP.js', 'SP.ClientContext'); $(function() { var ...


2

This article explains REST filtering based on date, http://itblog.wolthaus.net/2011/12/rest-filter-datetime/. You'd want to pass in a date in YYYY-MM-DD format.


2

Luis, You can use the following code to set GeoLocation field: var oGeolocationValue = new SPFieldGeolocationValue(); oGeolocationValue.Latitude = (double)17.4; oGeolocationValue.Longitude = (double)78.4; oListItem["GeoField"] = oGeolocationValue; And here is how you retrieve a value from GeoLocation field: var geoVal = item["GeoField"] as ...


2

When you create a list instance via an app, it creates it on the app site, not on the host site. If you want to create a list on the host site when the app is added, you'd have to use REST or JSOM (or C# if you use a provider hosted app) when the app is activated.


2

Apps in sharepoint are created as a seperate site called "App Web". The List that you are creating will be created in "App Web". However, if you want to create a list in the "Host Web", then you will need to programme a little bit to get the "Context". Also The app has to be given permission on the Site where you want to create the list. Please refere to ...


2

You could create a Custom WebPart. A simple button Handler could execute the under given code to fire your PowerShell script. scriptText parameter is the script which you should pass. You can HardCode it or load it from any file. private string RunScript(string scriptText) { // create Powershell runspace Runspace runspace = ...



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