- Goal: Triggering query by code additional scope is not working by js code is not working
getMember.trigger({
additionalScope:{
memberId: id
}
})
getMember.trigger({
additionalScope:{
memberId: id
}
})
Hi @Moneeb_Arif,
Can you provide more context as to what isn't working?
Is the getMember query being triggerred at all?
Can yo ucheck the log of the query to check if the additional scope was correctly passed?
How are you using the additional scope in getMember?
Not sure if this relates to your use case, but here's a recent thread that could guide you in the right direction
Hello @Moneeb_Arif ,
You need to include the memberId
in the query you want to trigger. First, use the memberId
in the getMember
query, and then pass it to the JavaScript query for further use.
For example :