Getting attribute from currentobject

0
I am using currentobject for my xpath but I want to use the attribute from it. How can I do that?   There’s an attribute Fullname I’d like to use. I was trying to use it, “[……. = ‘%CurrentObject/Fullname%’]” but it’s not working
asked
4 answers
1

Problem is that your path does not lead you to one single ApplicationUser, but to a list of ApplicationUsers. In your xpath you go from entity UserRole to ApplicationUser, and since many user can have that particular UserRole, you get a list of ApplicationUser, hence you will not be able to get the FullName.

**Modified:

Wrap your datagrid in a dataview which has datasource “ApplicationUser_GetByCurrentUser”, then your xpath will be "FullName = ApplicationUser.FullName”.

The flow will look something like this:

answered
0

Hi,
I hope you are trying to apply the Xpath constraint on data containers. If yes please the below. If it’s different case let me know

If its direct attribute, you need not to use CurrentObject, just pass the attribute in between [ ]


answered
0

@Srilatha
I'd like to use the attribute of the RowManagerNonPersistable for the xpath

 

answered
0

Okay then you can try this :
[Application.Application_Account/Administration.Account/FullName='Admin']

answered