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
12 replies
Subscribers
7 subscribers
Views
5010 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi Guys, is there a way to call an Appian function within my Java Code (Smart Se
Jess
over 9 years ago
Hi Guys, is there a way to call an Appian function within my Java Code (Smart Service Plugin)? I need to use todocument() function to convert the input string (ex. "[DocumentId: xxxx]" ) to a document.
Also, once I got the document, I need to get the server path/filename of that file.
Thanks in advance!
OriginalPostID-192788
OriginalPostID-192788
Discussion posts and replies are publicly visible
Parents
0
Jess
over 9 years ago
Hi Rahul, based on the Cloud Deployment Guidelines under
forum.appian.com/.../Shared_Components.html
The Administrator service context must not be used. Any other alternative for using the administrator context instead of using below code provided?
serviceContext= ServiceContextFactory.getAdministratorServiceContext();
this.contentService = ServiceLocator.getContentService(serviceContext);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jess
over 9 years ago
Hi Rahul, based on the Cloud Deployment Guidelines under
forum.appian.com/.../Shared_Components.html
The Administrator service context must not be used. Any other alternative for using the administrator context instead of using below code provided?
serviceContext= ServiceContextFactory.getAdministratorServiceContext();
this.contentService = ServiceLocator.getContentService(serviceContext);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data