Tag Info

New answers tagged

1

Parameter names in JavaScript are case-sensitive. According to MSDN, it's dialogReturnValueCallback.


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


1

I've found the solution, so I'm posting it in case someone else has the same problem. It turns out I wasn't getting all the job-definitions in the system after all - I still had to check the job definitions for available web sites. Here's the code: jobs.AddRange(SPWebService.ContentService.WebApplications.SelectMany(wa => wa.JobDefinitions)); ...


0

I faced same problem, but now i resolved it. The main part of problem was that assemby which is created wit Visual Studio and deployed to sharepoint is not accessible by aspx created by sharepoint designer or another tool. So you need to add reference to this assembly to aspx itself or webcofig of sharepoint site. If you would like to add it to aspx page ...



Top 50 recent answers are included