Posts

Showing posts from September, 2014

SharePoint 2013 Search Results webpart Change Query (QueryBuilder) button not working

Hi everyone, I got this problem on my sites where 'Change Query' button on the Search Results webpart refreshes the page instead of showing the modal window. Looking at the console window it seems that it can't read property 'QueryBuilder'. Turns out after some investigation, it is because I had an html tag with name="Search" and it didn't like it. I changed the name tag to something else and it starts working again. HTH, Andreas

SharePoint 2013 Running workflow programmatically StartWorkflow error FAILED hr detected (hr = 0x8102008a)

Hello, Just want to share something in regards to starting workflow using the Workflow Manager in code. I have built a SPD reusable workflow for a content type. I then add this workflow to my list in my site. As I want to be able to trigger this workflow anonymously , I have to run the workflow using WorkflowManager instead of the standard auto start from UI (Otherwise the workflow will be created but will not run) Originally I used the ItemAdded event receiver, then use this piece of code: StartWorkflow function: But my workflows only get triggered for some records (intermittently). When I run the debugging, I can see that a weird error is thrown: An exception of type 'Microsoft.SharePoint.SPException' occurred in Microsoft.SharePoint.dll but was not handled in user code FAILED hr detected (hr = 0x8102008a) in the log : COMException: 0x8102008a Looking around for solution I couldn't find the answer. After some trials and errors, I noticed that...