cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic Querying - C4C Leads

bmursell
Participant
0 Likes
546

Dear Experts,

Not sure if it's possible, but I am trying to create a filter which is using standard attributes, however, I would like to make the 'Lead Owner' dynamic, so the query is relative to the logged-in user. Is this possible?

Thank you,

Bradley

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee
0 Likes

Hello,

Where do you want to create such a filter? Is it on Leads List/OWL view? If so, then SAP already delivers the "My Leads" query which takes the current logged in user as the Lead Owner.

In case you want to filter such records in PDI then also you can use Context.GetCurrentUserIdentity to get the current logged in user details for filtering purpose.

Answers (1)

Answers (1)

bmursell
Participant

Hi saurabhkabra2009

Yes, it is on the Leads List. The 'My Leads' I wasn't aware could be modified. We should therefore be able to achieve what we're looking for.

Thanks

Bradley