Hot answers tagged

12

If you are using SharePoint 2013 or SharePoint Online, you can take advantage of JSLink to render your Status field as you want - in this case a button with some javascript logic behind it. The process would be very similar to the one described here: http://sharepoint-community.net/profiles/blogs/using-jslink-to-implement-delete-buttons-for-list-view. I'm ...


10

In a caml query, you will need to use <Today> token with OffsetDays. For e.g. <Where><Leq><FieldRef Name='Your_Date_Column' /><Value Type='DateTime'><Today OffsetDays='7' /></Value></Leq></Where> Reference: Using the Today token in a CAML query


9

You can create VMs on your Win 10 and on this VM-Hyper V - you can install Windows server 2012 and sql server 2012 for installing SP 2013. This and Bill Baer Blog may help.


8

You can use Caching a DataTable Object The code in these examples suspends all other threads in a critical section running in IIS, and prevents other threads from accessing the cached object until it is completely built. This addresses the thread synchronization issue; however, the code is still not correct because it is caching an object that is not ...


6

Instead of removing sites in foreach try passing it to Remove-SPSite using pipeline: Get-SPSite -Limit ALL | Where-Object { $_.Url -Like "*personal*" } | Remove-SPSite Or shorter version: Get-SPSite -Limit ALL | ? Url -like *personal* | Remove-SPSite


5

You may use SPQuery to filter the items based on start and end date. DateTime startDate = new DateTime(Int32.Parse(year), 1, 1); DateTime endDate = new DateTime(Int32.Parse(year), 12, 31); SPQuery q = new SPQuery(); q.Query = "<Where><And><Geq><FieldRef Name='Date' /><Value IncludeTimeValue='FALSE' Type='DateTime'>" + ...


5

If you are asking whether you can leave files in a file share and access them through SharePoint with the out-of-the-box features then the answer is no. There are however, 3rd party solutions out there that you can look at such as the "File Share Library" by Bamboo Solutions or I believe AvePoint also has a solution. On the other hand, if you are asking ...


5

Deploy your feature to Web Scope and enable the feature on your subsite. Register the event receiver (element.xml) with: <Receivers ListUrl="Lists/test">


5

As stated in the comments, you would need to structure your code in a way to get the result of the asynchronous operation, your code should be something like this: SP.SOD.executeFunc('sp.js', 'SP.ClientContext', getUserName); var user ; //declare this as a variable related to your current namespace, only here for demonstration. function getUserName(){ ...


5

You command should be look like this Export-SPWeb -Identity https://servername/path -Path C:\backup.cmp -ItemUrl "Lists/Mortgage Referrals" in identity complete URL of Site collection. at ItemURL you should not use '/' if it is on root of site collection.


4

When Collapsed is selected: Your list will appear like this by default: When Expanded is selected: Your list will appear like this by default:


4

Organizations use SharePoint to create websites. You can use it as a secure place to store, organize, share, and access information from almost any device. All you need is a web browser, such as Internet Explorer, Chrome, or Firefox. SharePoint can refer to one or more SharePoint products or technologies, including SharePoint Foundation The ...


4

Open with Explorer does not appear on lists, only in document libraries. Your list options would be Connect to Outlook, Export to Excel, Open with Access, Open with Project (depending on your SKU).


4

If you are not using it you can stop the following like Kalpesh said: 1.App Management Service - If you are not using SharePoint 2013 App in your environment 2.Business Data Connectivity Service - If you are not using any external list or external data column. 6.Word Automation Service - This service is used for conversion of the document e.g. ...


4

You need to deploy a separate server dedicated to Office Web Apps that does not have SharePoint installed on it. In order to edit files in the browser, it requires a license that you can get through Volume Licensing. Getting the Office Web Apps installation now requires you to go through Volume Licensing, even though the product itself is free for ...


4

Let SharePoint do the work for you You can Filter by date in the View Filter settings, This shows the Items created in the Last Week: Important: You can use spaces (and linebreaks) in a Calculated Column Formula, but do NOT use spaces in this Filter Formula If you do, you get the most informative message:


4

I'm afraid the only way is an ugly one (as often with workflows): Add a second column (and make it hidden) on the list to store the previous value of the comments field (let's say "Previous Comments History") When the workflow starts, make it compare the value of both columns "Comments History" and "Previous Comments History". If they're the same: copy ...


4

Create a list like ModalLogs with following column IsModalShownForToday Now find a item where Created By equals current user and Created equals Today and IsModalShownForToday is true. If you do not find any item by this filter, then show the modal and save a new item to ModalLogs list. Put the script in your master page. <script language="javascript" ...


3

I think you can face problem as sometimes the profile synchronization timer job does not correctly synchronize the changes in the User name and Account name information. You need to execute the following Move-SPUser command (an equivalent of the STSADM MigrateUser command) for the user account in order to update the account name in SharePoint: Move-SPUser ...


3

If you are only looking to affect things within the main content portion of the page (and not the page title bar, quicklaunch, etc.), on wiki pages all the content is in a div with an ID like ctl00_PlaceHolderMain_WikiField. Knowing that, you could set up your CSS selectors to always start with div[id$='WikiField'] so that you will only be targeting ...


3

From http://viewmaster365.com/365coach/#/Calculated_Column_Functions_List so that makes: =IF( SIGN( [PurchaseQty] ) >-1 , TRUE , FALSE ) or the same: = SIGN( [PurchaseQty] ) >-1 Note: SharePoint does type conversions for you, so [PurchaseQty] can be a Text Column, but if it does not contain a number representation you get a #Value error ...


3

You can use powershell script to download and install all prerequisite files. https://gallery.technet.microsoft.com/office/DownloadInstall-SharePoint-e6df9eb8


3

If by custom .aspx page you mean Application page than obvious difference is that application page will have URL like http://sharepointsite/_layouts/YourSolution/ApplicationPage.aspx. And these application pages are shared between different Web Applications (not specific to a Web Application). On the other side you can built reusable Web Parts and use it ...


3

"SharePoint is slow" is a very broad statement. Your slowness might not have a thing to do with the service applications you have activated. One thing to consider is caching. Are you making use of Output Caching? If not, it might be worth investigating. If you are using SP2013, and are making a lot of use of personalization features, Distributed Cache ...


3

I think you are almost there except that you have used assignment operator which will always return TRUE. Instead you have to use comparison '==' or '===' operators. update in below line EnabledScript="javascript:SP.ListOperation.Selection.getSelectedItems().length === 1;"


3

A workaround to the problem was to handle the Enter keypress event for the textbox via JQuery as follows: $(document).ready(function () { $("#<%= TextBox1.ClientID %>").keypress(function (e) { if (e.keyCode == 13) { $("#<%= Button1.ClientID %>").click(); e.preventDefault ? e.preventDefault() : e.returnValue ...


3

No, You have to Uninstall the SharePoint foundation, Then Clean Install the SharePoint 2013 server. You can take the backup of Content DBs so that once you install the SharePoint server then you can use those.


3

The only way I know is to export and import the list/library. Export your list in the source farm and import it to the destination farm. To export a site, list or document library by using Windows PowerShell To import a site, list or document library by using Windows PowerShell If you can manage to read an article then I prefer the below. Have a glance at ...


3

You are talking about 2 different things. Server and Foundation are the server versions of the product, they determine what features and functions you have available to you. Designer is a software application that allows you to connect to your SharePoint sites and modify things, like create workflow, create data view web parts, customize and create aspx ...



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