Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
5 subscribers
Views
2941 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
##PortaltoSAIL Can we use, user as a context in getPortalReportDatasubset f
janakik
over 10 years ago
##PortaltoSAIL
Can we use, user as a context in getPortalReportDatasubset function?
getPortalReportDatasubset(
reportId: cons!REPORT_ID,
pagingInfo: local!pagingInfo,
contextIds: {ri!userName},
filters: {}
)
Note: ri!userName is of type user
Thanks!
OriginalPostID-149529
OriginalPostID-149529
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 10 years ago
@janakik I guess the user can't be provided as a context, as the plugin documentation states that 'contextIds' parameter is intended for providing Group or Process or Process model ids and also mentions that 'Reports with user context will runs as the logged in user'. I feel that you can't provide user as a context here based on the documentation and the type of context.
Probably you could think of adding the user as a filter, which indirectly serves you the purpose of context.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 10 years ago
@janakik I guess the user can't be provided as a context, as the plugin documentation states that 'contextIds' parameter is intended for providing Group or Process or Process model ids and also mentions that 'Reports with user context will runs as the logged in user'. I feel that you can't provide user as a context here based on the documentation and the type of context.
Probably you could think of adding the user as a filter, which indirectly serves you the purpose of context.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data