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 ...


9

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


8

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.


7

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 ...


7

In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which represents a rendering engine for list views, list forms and search results. I would recommend you to consider the following approach for your task. How to highlight the rows using CSR Below example demonstrates how to highlight list task rows based on their status ...


6

The following example demonstrates how to determine whether current users belongs to the specified groups: getCurrentUserWithDetails() .done(function(data) { var groupNames = ['News Owners','Approvers']; //determine wether current user is a memeber of group(s) var userGroups = data.d.Groups.results; var foundGroups = ...


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

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

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

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

There is a couple of reasons for this: SharePoint is from companies point of view a Microsoft product, so if there is a security risk then it's seen as Microsofts fault. This is the reason for Microsoft to putting in a lot of security into SharePoint which by default isn't in ASP.Net like: not running full trust not allowing updates on GETs and ...


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">


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

you can use $().SPServices <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jQuery%20SP%20Services/jquery.SPServices-0.5.4.min.js"></script> <script type="text/javascript"> function StartWorkflow(ItemURL, ...


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

After some amount of research i found a site which provides free site creation online!! https://www.cloudappsportal.com I also managed to create a free site :) This site is actually great! I gave this url and i was able to create sharepoint app for that site and deploy it!!


4

For reasons of security, by default, Microsoft SharePoint Foundation does not allow you to make posts from a Web application to modify the contents of the database unless you include security validation on the page making the request. You can update data for a single site or for a site collection by adding a page directive and a FormDigest control to the ...


4

You are trying to read the property values too early in the web part life cycle. The property values are populated from the content database after the constructor has run. If you check the property values in OnLoad or OnPreRender you will see the values you have set in the editor.


4

SharePoint Server 2013 Windows Services Document Conversions Launcher for Microsoft SharePoint Server 2013 (DCLauncher15) Document Conversions Load Balancer for Microsoft SharePoint Server 2013 (DCLoadBalancer15) SharePoint Server Search 15 (OSearch15) SharePoint Administration (SPAdminV4) SharePoint Search Host Controller (SPSearchHostController) ...


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

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

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 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 ...


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 ...



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