Hoping somebody can help me with the Infor.Get.Element.Attribute formula. Is it possible to use this formula to retrieve an element's Member_Unique_Name if I know the Member_Name? I can retrieve the unique name if I already know the unique name, but the formula returns a blank if I only know the member name. I have unsuccessfully tried both Infor.Get.Element and Infor.Get.Element.Attribute, and I feel like I have made this work in the past, but I'm struggling at the moment.
My current solution for retrieving an element's unique name is to search for the element using its name or ID in the Add Horizontal Elements or Add Vertical Elements feature. Is there anything else I should try in order to pull the unique name?
I have copied my formula below. B2 is the Data Connection, B3 is the Cube, B22 is the Hierarchy, and M15 is the element I'm searching for.
=INFOR.GET.ELEMENT.ATTRIBUTE($B$2,$B$3,"MEMBER_UNIQUE_NAME",$B$22,M15)
The formula works when M15 = [GP_PROFIT_CENTER].[0].[5].[51].[510].[5100].[51000].[510002], but not when M15 = 510002
Thank you in advance!