HierarchyService.getPreviousMember Method

Gets the previous hierarchy sibling member.
 

Parameters

id

Type: String
The ID of the hierarchy to retrieve the member from or its parent entity.
getOptions

Type: Object
The options to get the member.
     hierarchyUniqueName     [type: String]          - The unique name of the hierarchy.

     levelUniqueName         [type: String]          - The unique name of the level.

     memberUniqueName        [type: String]          - The unique name of the member, optional if specified by memberDateTime instead.

     memberDateTime          [type: Date]            - (optional) The date of the member in UTC time - see dundas.Utility.getUTCOffsetDateTime.

     includeAncestry         [type: Boolean]         - (optional) If enabled, then the parentMembers will be populated (ancestry).

     bypassHierarchyCache    [type: Boolean]         - (optional) If enabled, then the hierarchy cache is bypassed for the retrieval call.
     bypassSecurityForAdmin  [type: Boolean]         - (optional) If enabled, then if the requesting account is an admin account, security hierarchy processing is bypassed.

     tenantId                [type: String]          - (optional) If set, any tenant related data connector overrides will be used. System Administrators Only. 
 

Return Value


Type: jQuery.Promise
Value: dundas.data.HierarchyMember
A promise object that is resolved when the call is complete. If successful, the dundas.data.HierarchyMember is returned.