Tag Info

Hot answers tagged

4

CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef Name="Date" />'+ '<FieldRef Name="Title" />'+ '<ViewFields>' should be CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef ...


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 an event receiver: You can check the last added item, then increment it with 1. Then modify the number as 2014/001, 2014/002 and ect... No need to have workflows. Another way is having a property bag value which stores the last added id, then increment it by 1 and save, set that value to the number to the list item. This too can be done using an ...


2

To create a form that would submit items to multiple lists, you should: Add some elements to your main list form, probably arranging them in a certain way. If those elements aren't related to fields as I suspect from your description, best way to do it would be to leverage OnPostRender CSR event and then use HTML5 selectors or jQuery to insert your HTML ...


2

try this one: var url = ctx.HttpRoot+"/_layouts/regionalsetng.aspx?Type=User"; $.get(url,function(data){ $(data).find("select[name=ctl00$PlaceHolderMain$ctl00$ctl00$DdlwebLCID]").find(":selected").each(function(){ var lcid = $(this).attr("value"); var cultureInfo = $(this).text(); }); }); ...


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

You will have to create a feature which will get activated on creation of all my site and write code to delete the default folder programmatically. You will have to make use of feature stapling technique to achieve this. Template Name for my site template is SPSMSITEHOST#0. Follow this blog for feature stapling .


2

For subsites, if you want to delete that folder after the web is provisioned, you can use the SPWebEventReceiver's WebProvisioned event. Here is an Example. The event receiever as per the documentation, wont work when root web of the site collection is created. In this case, you can Staple a feature to the mysite so that when a mysite is created, the ...


2

Probably one of the best ways to apply client-side validation in SharePoint 2010 would be to override PreSaveAction handler. PreSaveAction function is a user defined function that allows to override standard behavior for a Save button handler in List Forms on the client-side. Regarding validation expression, we could utilize /^[a-zA-Z]+$/ regular ...


2

It is really depend upon you requirement. from simplest way to workflow to event receiver. Simple way is using the calculted column use the workflow( personally i dont like this) event Reciever: By using this strategy, users have advantage to edit the existing values, we can also avoid it by making field read-only on feature activation. Using item event ...


2

In Foundation the User Information is stored in a hidden list at the root of the Site Collection called the User Information List. The list is populated when a user first accesses a site collection. (In SharePoint Server the list still exists and is synchronized with the User Profile by two timer jobs.) Updates to the list occur when the user is "Active" on ...


2

To change Edit, Share, Follow text have class named 'ms-promotedActionButton-text': span.ms-promotedActionButton-text { color: Red; }


2

Following Powershell scripts might help you: PowerScript to show all web applications that have Enterprise features enabled: foreach ($webapp in Get-SPWebApplication) { foreach ($premiumfeature in Get-SPFeature "PremiumWebApplication" ` -WebApplication $webapp.Url -ErrorAction SilentlyContinue) { Write-Host $webapp.Url } } ...


2

Unfortunately, the REST services are only working for authenticated users. The REST API ("/_api" and "/_vti_bin/client.svc") doesn't work with anonymous access in 2013. SharePoint 2013 APIs for anonymous and/or mobile access SharePoint 2013 and anonymous access problem


2

SQL server by DESIGN will always eat up as much ram as you throw at it if you have databases of sufficient size. Have a 32GB database and 32GB of memory ... SQL by default will eat all of it. You can configure SQL to limit the amount of memory it will consume however. Lets say you have 16GB of memory in your system try limiting the SQL buffer to 10GB, that ...


1

It wasn't the installation of SharePoint that took over your default web site, it was the provisioning of a new web app at port 80 that did it. To retain your default web site, just keep away from port 80 for your web applications. If you used the farm configuration wizard, you'll need to either skip it or skip the part that provisions the initial web app, ...


1

Not directly an answer to your question, but it is possible to provision Foundation Search with PowerShell. http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/


1

Unfortunately it doesn't seem possible to achieve using neither REST nor JSOM. So, the workaround, as you correctly mentioned in the question would be to utilize SharePoint Search REST/JSOM and specify contentclass:sts_site to return sites results. The following REST example demonstrates that: function searchSites(webUrl,success, failure) { var url = ...


1

We recently moved the Config / Content Database from Sql 2008 R2 to Sql Server 2012 with out issue. If you are only moving the content database then its easy. I am sure you used the SQL alias then it is super easy. I would recorded you to test at least one database and make sure the things goes well. Our Method is almost same just little change For Config ...


1

You cannot get the document icon as a property, you will have to make the url for it. SharePoint has already lots of icons available in the DOCICON.xml file at C:/Program Files/Common Files/Microsoft Shared/web server extensions/14/TEMPLATE/XML Simplest way could be to load based on file extension "/_layouts/images/icXXX.gif (where icXXX, would be ...


1

OOTB way no way to setup the alerts at the folder level, Alerts scoped to the Document library. In You scenario, i would say create separate library for each group. But another option is problematically. here are two post guide you in this regard: ...


1

You can use Sharepoint Designer. Copy one of the existing Sharepoint masterpages to start from. Connect to site using SP Designer or Map network drive to site and edit files in your favorite IDE. More on SP F Branding here: ...


1

Create a new visual webpart and place the below webpart in your page layout . instead of hidden value pass the url in query string . The code will check for the query string and redirect the page in new window. Eg:https://abcd.com?Source=http://www.yoururlinnewwindow.com , onload of page will redirect to new page . ...


1

Update-SPSolution command it never works the way it should , Always use the deactivate-retract-delete-add-deploy-activate approach just as if it were a new solution. Update-SPSolution does not Deploy Solution


1

You can create that page as Site page or application page and deploy that. In this way you can get that page across all site collections. Creating Pages for SharePoint Creating Application Pages for SharePoint also check this response. Copy a page across different site collections


1

Unfortunately you cannot create a heading under another heading or a link under another link in SharePoint. What you can do is create your own sitemap file with the hierarchy you'd like and then add it into your _app_bin folder on your web front end servers. You will also need to edit your web.config files and add a reference to your custom sitemap. Find ...


1

Here are few more interesting links to get you as much information about the problem as possible: SP 2010: Sharepoint 2010: How to add menu items at 3 or more level in quick launch -part 2 3 level navigation in Sharepoint 2010 3rd Level Navigation (Sharepoint 2010) SP 2013: SharePoint 2013 top link bar extended dropdown 3rd Level SharePoint SharePoint ...


1

You can do it using the coding and change the CSS. For sharepoint 2013 http://www.ashokraja.me/post/Create-a-Multilevel-Hierarchical-Menu-in-SharePoint-2013-with-SuiteBar-Branding-Delegate-Control.aspx For SharePoint 2010: http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010general.aspx?ID=f224e1af-613c-46ad-9863-997c10fdf926 ...


1

I have copied data from excel to sharepoint multiple times using the datasheet view. Do you really need that column for your list? You could easily change it to something like an "Assigned to:" column. If you really need to keep it, then I suggest you modify the view so the person/group column comes first and make sure it is not a required field. Then go ...


1

It would throw errors at you if the web part is not deployed as a feature on the destination server. You need to package the web part via the Publish option, then use powershell to deploy the feature on the destination server and any errors present will no longer appear.



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