Get latest workflow instance programatically?
hi,i am building sate machine workflow and when i upgrade the solution another workflow instance is created when workflow starts again.now i want to get latest workflow instance...
View ArticlePowershell scripts not writing it to output file
Hi,Below is my script which loops through all sites and web in a site collection and if the particular web part is added in a page, it will give the page URL and it should be written to a output...
View Articleretrieving data from managed metadata field of list with cmal query using...
hi friendsi am trying to retrieve data from managed metadat field of list using javascrtiptfunction retrieveListItems() { var clientContext = new SP.ClientContext.get_current(); var oList =...
View ArticleExcel Content Type Auto Recognize on Upload
I have created custom Content Types for our document libraries - Word, Excel, Powerpoint, so that users can create new documents within Sharepoint.However, when users are uploading documents, I don't...
View ArticleISO: help with powershell script to examine each site collection's "simple...
So, for quite a number of years, I have been dealing with an odd problem.I am in a situation where users are assigned windows logins which include their initials and department numbers.For a new user,...
View ArticleRestore SharePoint list backup with custom name
Hi All,I have taken SharePoint list back up. Is there any way to restore it in the same site collection with the different list name?srinivas
View ArticleFeature setting Masterpage & CSS doesn't work when included in SiteTemplate -...
Hi,I'm experiencing a strange behaviour recently. I wrote a feature with an EventReceiver that sets the masterpage and alternate css file for the current spweb it is activated for. When I activate that...
View ArticleXSl formula for pulling values based on parameters or query strings
Hello,I have a custom list in SharePointList Column/Fields (any time a new item is created these are the fields that need values)Machine = ID2SpecLabel = text string valueSpecValue = text string...
View Articlehow to get highest salary from salary column in sharepoint list
Hello,I have one custom list in which there is one salary column so I want to get the highest salary.Can we do this OOTB or by using custom code by adding webpart(using CAML query).Thanks,
View ArticleContent editor webpart not working properly in chrome
I have create custom master page and set as default one. It will working fine for all browser except chrome.screen shot is here:help me to solve this issue.
View ArticleCreating a Status column (IF statement/calculated column)
I'm developing list for managing a project with 11 columns each representing a project milestone.We'll call them A,B,C...K. "A" representing a status of "Project Started" and K representing "Project...
View ArticleSPAlert get email address of recipient?
The SPAlert class has a User and UserID property - UserGets or sets a user object representing the user who created the alert.UserIdGets or sets the ID of the user who created the alertmy question is -...
View ArticleSharePoint 2010 - Hide CEWP if survey has been answered
I have created a link to a survey on a web part page using a CEWP. I would like to hide the CEWP if the logged in user has already answered the survey.I found the following to be of some help:...
View ArticleEvent Receiver debug not attaching to process
I built an ItemAdding Event Receiver which works on my SharePoint 2010 development server. Now I'm trying to create the exact same thing on my Live SharePoint server. And its not working. Its...
View Articlehow to determine current page is published or not using javascript
hi friendsi am using publishing workflow. if page not published i need to hide buttons on page.how can i determine the current page is published or not using JavaScript
View ArticleCustom EditForm for Document Library using visual Studio
Hi all, I know building custom new, edit, display forms for lists and its bit different for document libraries.I have a content type added to a document library. Using code, I have changed the...
View ArticleSaved List template is not visible under create page
Hi All,I created a list template and it got successfully saved to list template gallery. I am trying to create a new list with the above created list template in the same site . but unfortunately the...
View ArticleLike operator for sharepoint ssrs
Hi,i ve got a multiiple instructor coulmn likei ve written experssion like = Join(Parameters!Instructor.Label,",") Like "*" & Fields!InstructorName.Value & "*"booleanvalue=truebut Please see...
View ArticleAdd multiple people using Javascript Client Object Model
I am trying to add multiple people to a SP column of type Person/Group i.e. people picker. I am able to add one successfully using their userId, but HAVE no clue how to do that for multiple people....
View ArticleECMAScript --> get current User fails!!
i want to get the current logged in user: var ctx = SP.ClientContext.get_current(); this.web = ctx.get_web(); this.currentUser = web.get_currentUser(); ctx.load(this.currentUser);...
View Article