Tag Info

Hot answers tagged

5

The following REST endpoints could be used to request List resource: SharePoint 2013: http://<site url>/web/_api/web/Lists/GetByTitle(<ListTitle>) SharePoint 2010: http://<site url>/web/_vti_bin/listdata.svc/ListTitle


5

Microsoft is continuously improving Office 365 SharePoint Online. Most of the changes are somewhat announced and documented somewhere. For example, this SharePoint Blog post mentions a few improvements recently made and rolled out (or at least are in progress to roll out): ...


3

You can use SharePoint foundation for business purpose / development / internet facing site if your server license are covered it. i think your team confused with MSDN license which you cannot use for business purpose but you can use MSDN license for development. SharePoint Foundation is part of Windows Server,So you need proper licensing of the Windows as ...


3

Using XML is not the best way to create lists and update them and so on. Use a programmatic approach as it is the safest. You can use a feature receiver and create the list there. Also make upgrades conditionally. I have heard of many people having issues when they use the XML approach. You can try Deployment Conflict Resolution to None and try but in the ...


3

This is a known issue that has been with Firefox since 2003 as it seems. Please refer the following issue report and this one. This is not a SharePoint specific issue.


2

You can check why it is failing. In the failed function add this line to display the error message as an alert. alert('Failed: \n' + args.get_message() + '\n' + args.get_stackTrace());


2

The big thing about SharePoint is it has many paths for a person to go. One cannot become an expert in all. You can be a developer, administrator, UX Designer and many related fields. Given that you are familiar with ASP.NET and C#, you should do development. Also when it come to development, now with SharePoint 2013 everyone is trying to make moves ...


2

Ensure that the user you are trying to add exist in the web site. You can make use of EnsureUser() function of the SPWeb object. You may write your code as: SPWeb spWeb = SPContext.Current.Web; SPUser spUser = spWeb.EnsureUser(@"DOMAIN\username"); On MSDN article you can learn more about EnsureUser() function. Hope this helps.


2

I guess it depends on the scope of your feature. If farm: You could use a custom service application (data gets saved to own database). It is not the easiest implementation, but it gives you lots of control http://msdn.microsoft.com/en-us/library/gg193964.aspx For site or web scope, you could use the corresponding property bags of SPSite or SPWeb ...


2

This behavior could be caused if you have your Alternative Access Mapping (AAM) Default Zone set to use protocol http while your OWA is set to use HTTPS. One solution I found is to change the Default Zone to use HTTPS. Change the Default Zone by going to Central Administration > Application Management > Configure Alternative Access Mapping > ...


2

You could do this as a view. Just set the view to be filtered on Leaving Date < [Today], which will only show those who have left. I'm assuming you have a flag saying "Returned" or similar, which can be checked and then filtered out as well. It would be highly visible, as only the non-returned equipment/leavers will be displayed.


2

You could just use a single POST request in theory (it's actually X-http PATCH or MERGE in the case of updating a particular field in an item), but you would need to know what item you were trying to update first since you have to post to that item's endpoint... Sometimes you can get this from a selected item in a list view, otherwise you would need to just ...


2

You can use a content query web part. Then customize it in such a way it can be set to display image instead of the url. I am not sure whether you can customize the entire External List. When you are using the Content query Web Part you can customize the XSLT in it. There then set it to view the image instead of url.


2

What list view threshold does is stop executing larger SQL queries on database. Simply it defines the maximum number of rows that a query can take part at a given instance of time. It can be any of the CRUD operations. This is generally 5000 for a normal user and 20000 for an administrator. (can be changed through Central Administration) But there can be ...


2

Time of day when the query throttling is turned off for whole application is "Happy hour" . This is mainly used when there is need to schedule reports and admin jobs for an hour or more during non business hours when the large list/queries do not impact the end users . Things to be kept in mind : Consider different time zones. This is especially important ...


1

Happy Hour is not really make server happy and also know as Daily Time Window for Large Queries. As Malin, Already explain and you understand that running the Large Queries cause huge server performance issue. But in many scenarios you have to run the large queries, in oder to accomadte this.Msft provide an option in which you set a timing when use can run ...


1

Typically people will have accounts on something like GitHub, pastebin, jsfiddle, etc to share things like this. The sharepoint.stackexchange site isn't necessarily the place for it. The way around promoting your code is to ask a specific question, then answer it with your code and point to your github repo.


1

Inspect the return results using your browser dev tools -- my environment (using O365 and jquery 1.11.1) returns the results from $.getJSON(url, function(data) { //do something with data }); in data.value no d, or d.results This works on my O365 site: $.getJSON("/_api/lists/getbytitle('Laptops')/items?$select=Title,Id", function (data) { html = ...


1

I'm not sure why $.getJSON() does not work, but $.ajax() should work: $(document).ready(function() { var oDataUrl = "siteURL/_api/lists/getbytitle('Laptops')/items?$select=Title,Id"; $.ajax({ url: oDataUrl, type: "GET", headers: { "Accept": "application/json; odata=verbose", "Content-Type": ...


1

You can get the list url from the get_defaultViewUrl method... when you load the lists you need to use the include statement to retrieve the defaultViewUrl property (it isn't included with the list results by default). Change your context.load line to: context.load(lists, 'Include(Title,DefaultViewUrl)'); Then inside of your iterator loop you can use ...


1

If you're using a custom stylesheet try going to Site Settings on your top level site -> Master Page (under Look and Feel) -> For Theme and Alternate CSS URL check 'Reset all subsites to inherit..'


1

MSG files are a proprietary format only recognized by Microsoft Outlook. The only format the Windows SMTP service understands are EML files. UPDATE You just can't save an Outlook MSG file directly into SharePoint or Windows SMTP Server. You need either an Exchange Server or any other SMTP/POP/IMAP server Outlook can communicate with. I personally use the ...


1

Did you add the managed property mapping in the display template? Look for the tag starting with <mso:ManagedPropertyMaping in the head of the template. You need to add a mapping to your managed property. It should be in the following format: '<current item property name>':'<managed property name>' Yours should be like this: ...


1

Create another column to check against. It can be a simple choice column called Complete with options Yes and No, where no is the default. On your workflow, you check if the status is archived and complete equals no. Then when done, you set complete equal to yes and the workflow won't fire on edits after that.


1

the answer is: XsltListViewWebPart copies the view on creation and forgets about it. You should just use it. SPView view = list.Views[new Guid(lvwp.ViewGuid)]; as your view to work with, and not anything you created. Or remove and add web part again after you changed your view. ViewGuid setter only seems to be working before AddWebPart. Here's a ...


1

You can hide a subsite with the following script: Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue $web = Get-SPWeb http://SubSiteUrl... $publishingWeb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web) $publishingWeb.IncludeInGlobalNavigation = $false $publishingWeb.Update(); $web.Dispose() To delete a ...


1

This is what I get when I browse to the userconfirmation.aspx page in SharePoint 2013.


1

You cannot use Calculated columns to update on the viewing time. It only gets updated when you are adding or editing the item. So stop any further reading related to calculated columns.


1

Forget the event receiver, you can set the home page declaratively alongside your module by setting a property bag value. In the same elements file as your module, right beneath it, put the following code: <PropertyBag Url="" ParentType="Folder" RootWebOnly="FALSE" AlwaysCreateFolder="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/"> ...


1

Thought I'd post an update as the problem has been resolved. When I was troubleshooting I deleted and recreated multiple site collections to see if it made any difference - it did not. Finally I gave up, deleted my original web application on port 80 and recreated it. Added a site collection. And configured the permissions on that webapp. The new web app ...



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