Tag Info

Hot answers tagged

1

The following example demonstrates how to reorder fields in content type using CSOM var ctId = "0x01020047F5B07616CECD46AADA9B5B65CAFB75"; //Event ct var listTitle = "Calendar"; using (var ctx = new ClientContext(webUri)) { var list = ctx.Web.Lists.GetByTitle(listTitle); var contentType = list.ContentTypes.GetById(ctId); //retrieve fields ...


1

The best way to open a modal dialog in SharePoint 2013 is to use the built-in JavaScript function called "OpenPopUpPage". This was introduced in SP2010 and is used widely throughout SP2013. To change the page being loaded within the modal dialog, you can then use a simple "window.location.href" function. EXAMPLES: Opening a Modal Dialog <a href="#" ...



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