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


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


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

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

My complete solution for SharePoint 2013 - style ribbon-based rich-text editor. I made this some time ago, so I certainly borrowed some code from google. ASPX / ASCX: <div id="editor"> <div id="RTEDiv" tabindex="0"></div> <asp:HiddenField ID="RTEDivHidden" runat="server" /> <div class="commands"> ...



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