Tag Info

New answers tagged

1

Yeah, it is pretty common problem. No matter how you try to edit your code it will be difficult to read, debug, manage, and update, when it is written inside elements.xml. I know that question is about the editor itself, but sometimes it is much better to write your JavaScript code in another .js file, and use only reference in CommandAction. You can load ...


0

When the page goes to edit mode you can load the http://jqueryui.com/tooltip/ as dotsa suggested And then you should be able to attach the tooltip using the class or any selector say $( document ).tooltip(); Make sure that the fields you want tooltip are added with title attribute


1

The page can be deployed to Site Pages library using module. Sample module file code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Webpartpage" Url="SitePages"> <File Path="Webpartpage\MyPage.aspx" Url="MyPage.aspx" Type="GhostableInLibrary" ...


0

After some R&D Found Artical SharePoint 2013 Custom Picture Library Creation & Deployment All My requirments Covered in above artical


0

You can create in two ways. One using list definition (xml) files or using Object Model. Below is a snippet to create library using object model SPWeb web = SPContext.Current.Web; //or create SPWeb object web.Lists.Add("LibName", "Description", SPListTemplateType.PictureLibrary); web.QuickLaunchEnabled = true; //false to not display in left nav ...


1

Try, item = list.Items.GetItemById(Convert.ToInt32(stritemid)); try { SPSecurity.RunWithElevatedPrivileges(delegate() { using(SPSite site = new SPSite(SPContext.Current.Web.Url)) { using(SPWeb web = site.OpenWeb()) { SPListItem elevatedItem = item.ParentList.GetItemById(item.ID); ...



Top 50 recent answers are included