Pages

Thursday, May 26, 2016

ASP.Net Server Side Code for redirect to another Page


You can use in the below code in your code block

string spurl = SPContext.Current.Site.Url;              
string scriptText = "alert('Record has Successfully SavedDraft.'); window.location='" + spurl + "/Test/default.aspx'";
System.Web.UI.ScriptManager.RegisterClientScriptBlock(panel4, Page.GetType(), "alertMessage", scriptText, true);


Once user click on the Button then it will redirect to other page.

Wednesday, April 6, 2016

How to get Nintex Tasks Approval ID from Sql Server



SQL Query:

Execute the below query in your Nintex SQL server.

/****** Script for SelectTopNRows command from SSMS  ******/
SELECT TOP 1000 [Id]
      ,[Name]
  FROM [NW2013DB].[dbo].[ConfiguredOutcomes]



Friday, March 18, 2016

Sharepoint 2013 Workflow Tasks List - View with Filtered By Assigned To = Sharepoint Groups



Scenario:

I have workflow with three approvers, One approvers is specific person, the other approvers are two sharepoint groups like HR SP Group and CEO SP Group.

I would like to add task webpart in the home page to filter my sharepoint Workflow 2013 Tasks list only to display the tasks assigned to the current user.

Hence I create a HR View and set a filter ‘Assigned To’ is equal to [Me] in the view.

However, I am not seeing the tasks that has a HR SP Group assigned and the HR SP group contains the current user.

Solution:

 Here are the steps:


  1. Create HR Task view in the Task List.
  2. set a filter ‘Assigned To’ is equal to HR SP Group in the view.
  3. Open SharePoint Designer.
  4. Open theHR Task view of the task list in code view.
  5. Find the tag and within it add the following:


Find the Tag


Replace to




     6.Save the view and open it again in the browser.

Thursday, February 25, 2016

Load specific text in the dropdown in the Nintex form 2013 using Jquery



          var varLocationID=NWF$('#' + varJSLocationID).val();  
 LocationValue = ko.dataFor(NWF$("#" + ddlJSLocation)[0]);
       // Setting value to drop down  
       LocationValue.initialValue  = varLocationID;

Friday, November 27, 2015

Nintex Workflow 2013 Error in Sharepoint 2013 Central Admin Site


When you installing Nintex Workflow 2013 in your sharepoint 2013 server, After installed the installer and Deployed the Nintex Workflow WSP then open the Nintex Workflow Management, It will throw in the below error 
The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
If you come across the aboveerror while clicking the “Nintex Workflow Management” in Central Admin, Reset IIS