Collaboration-2-Go


Lösungen und Software-Entwicklung im Collaboration Umfeld, insbesondere Microsoft SharePoint, Microsoft Exchange und Microsoft Office.

Support


Mobil: +49 (152) 53 97 78 79
Mail: service@collaboration-2-go.de
Weitere Kontaktmöglichkeiten: Kontaktseite
Dekoration: Köln



Nintex - Resolve SharePoint and Active Directory Groups
Created: 22.11.2020
Categories: SharePoint 2016; SharePoint 2019; Nintex

In order to retrieve all members in aSharePoint group (including AD groups) you must follow these steps:
- get members of the SharePoint group using a SharePoint web service; result in an XML
- collect information about these group members
Resolve SharePoint and Active Directory Groups

Web Service call using UserGroup.asmx:
Resolve SharePoint and Active Directory Groups

3 tasks which evaluate the XML result using these XPath values:
/defaultNS:GetUserCollectionFromGroup/defaultNS:Users/defaultNS:User/@Name
/defaultNS:GetUserCollectionFromGroup/defaultNS:Users/defaultNS:User/@LoginName
/defaultNS:GetUserCollectionFromGroup/defaultNS:Users/defaultNS:User/@IsDomainGroup

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Test result (for each item):
- get login name
- get information wether item is a active directory domain group (IsDomainGroup):

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Switch: if item is a group start a LDAP query.

Resolve SharePoint and Active Directory Groups

Preparation (get login name only):

Resolve SharePoint and Active Directory Groups

LDAP query:

Resolve SharePoint and Active Directory Groups

LDAP query Value:
(&(objectClass=group)(samaccountname={WorkflowVariable:var_login}))

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Value:
(&(objectClass=user)(distinguishedName={WorkflowVariable:var_groupMember}))

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups

Resolve SharePoint and Active Directory Groups
    

Post a Comment!


Indent SharePoint Task using Nintex
Created: 09.08.2017
Categories: SharePoint 2016; Nintex

      Indent SharePoint Task using Nintex

      Ribbon

      Nintex doesn't provide the appropriate field
      in order to indent a task below another task.

      Solution:
      - Create Nintex Workflow (in this sample: in the task list)
      - Remember current item ID in a variable
      - Create task within this Workflow
      - Remember new item ID in a variable
      - Wait a while
      - Call WebService in order to update new item
      - Voilá

      Ribbon

      Web Service Call:

      Ribbon
      
      Web Service XML:
      
      
      <Batch OnError="Continue" PreCalc="TRUE" ListVersion="0">
        <Method ID="1" Cmd="Update">
          <Field Name="ID">SubItemID</Field>
          <Field Name="ParentID">ItemID</Field>
        </Method>
      </Batch>
      

      
      Please replace SubItemID and ItemID by the corresponding
      workflow variables.
      
      Result:
      
      Ribbon
    

Post a Comment!