Tag Info

Hot answers tagged

2

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


2

This feature is not available as OOTB. but you can develop custom solutions as below develop office add-on's which can interact with SharePoint and merge from two excel sources in to single list. create two lists and the develop ribbon action with a custom layouts page say "export" in which the list data will be updated to the final target based on list ...


2

Yes it will not get set. Workaround is Add field and set DisplayName="thisDoesNotSet" Now SharePoint will set both Display and Internal to thisDoesNotSet Update Display Name to this gets set


2

As a best practice, please make a copy of your seattle and oslo master pages. Change your site to inherit from your copy of seattle/oslo master page. In my case, I opened the custommaster.html and inserted the below CSS line <!--SPM:<SharePoint:CssRegistration name="&#60;% $SPUrl:~sitecollection/Style Library/custom.css %&#62;" ...


1

Select the SharePoint project - > Press F4 -> Set Server connection property to Offline. The SharePoint solution communicates with SharePoint when server connection is set to true and URL is specified in the properties.


1

While you should really keep in mind what Robert suggested in the above comment, if all you need is to try to resolve a name to a SharePoint user like the people picker does, you should have a look at the SPUtility class methods SPUtility.SearchPrincipals and SPUtility.ResolvePrincipal for example: bool hasReachedTheMaxCount= false; ...


1

Yes, you can run SharePoint 2013 apps in SharePoint Foundation 2013, but with some limitation, as Some apps may be written to leverage client side code that will only work in SharePoint Server. Those Apps won't work in Foundation. For example, an app that interacts with the User Profile Service wouldn't work in Foundation since the User Profile ...


1

If you run code with elevated privileges, it will have ALL permissions, you have to take care yourself to avoid any unwanted Actions. All you could do is create a user, which has read Access to the requested lists and run the Service-Wrapper under that user (you would have to find a way to impersonate the user) The best strategy is, to give the users Read ...


1

Their no OOTB way to handle these kind of situation. One workaround i am thinking,If both files are identical then upload both files in SharePoint library. After that you can use PowerQuery to Consolidate both files and then create the list on the basis of new file. Consolidate Multiple Excel Files in SharePoint using PowerQuery Another method, create a ...


1

Looks like this is migrated site( from 2007) because the AssetTrackingAssetsList(75a0fea7-625d-4b31-be9e-24cee53d0d7) is part of fab 40 packages in Moss 2007. Now either you need to upgrade and deploy that package in 2010 if you are still using that template. Or you can use the SharePoint admin tool to clean up the stuff from the site collection. here is ...


1

Try foreach (ListItem listitem in allitems) { DataRow row = table.NewRow(); //Multi Line Text if(listitem["Comments"] != null) row["Comments"] = listitem["Comments"].ToString(); //Number int tempId = 0; if(listitem["EmployeeID"] != null && int.TryParse(listitem["EmployeeID"].ToString(), out tempId)) ...


1

In order to restore the OOTB, you need to perform the below steps. Firstly, run the Configuration Wizard to reprovision the Farm-scoped Timer Jobs. Then, for each Web Application you have, run the following PowerShell: $w = Get-SPWebApplication https://mywebapplication $w.EnsureDefaultJobs() This will recreate the default timer jobs (stuff like Alerts, ...



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