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
4 replies
Subscribers
7 subscribers
Views
2105 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
#SharePoint Hi, would some one of you be able to answer the following questions?
sikhivahans
over 8 years ago
#SharePoint Hi, would some one of you be able to answer the following questions?
1. Using the Endpoint URI (as mentioned at
msdn.microsoft.com/.../dn450841.aspx
, I was able to retrieve the metadata of all but the latest version for a given document. For instance, if a document has 4 versions namely 1.0, 2.0, 3.0 and 4.0, the code snippet mentioned below is able to retrieve me 1.0, 2.0 and 3.0. So other than opting for workarounds, is someone aware of a direct way of retrieving all the versions (including the latest or active version) in single shot?
a!shpInvoke(
path: "/_api/Web/getFileByServerRelativeUrl('/sites/appian/Shared%20Documents/Clients/Workspace.text')/versions",
)
2. Using the Endpoint URI (as mentioned at
msdn.microsoft.com/.../dn450841.aspx
, I wasn't able to retrieve the file vers...
OriginalPostID-216434
OriginalPostID-216434
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
...ion object for a given version. For instance, if a document has 4 versions namely 1.0, 2.0, 3.0 and 4.0, the code snippet mentioned below isn't able to give me the desired result. So could any of you be able to let me know how to resolve this?
a!shpInvoke(
path: "/_api/Web/getFileByServerRelativeUrl('/sites/appian/Shared%20Documents/Clients/Workspace.text')/versions(2)",
)
Output:
[success:true,result:[d:[GetById:]],error:]
3. Using the Endpoint URI (at
msdn.microsoft.com/.../dn450841.aspx
, I wasn't able to retrieve the file version object for a given version. For instance, if a document has 4 versions namely 1.0, 2.0, 3.0 and 4.0, the code snippet mentioned below isn't able to give me the desired result. So could any of you be able to let me know how to resolve this?
a!shpInvoke(
path: "/_api/Web/getFileByServerRelativeUrl('/sites/appian/Shared%20Documents/Clients/Workspace.text')/versions/get...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
...byid(2)",
)
Output:
[success:true,result:[d:[GetById:]],error:]
It would be really grateful if any of you who has prior experience in integrating SharePoint in Appian can let me know if I am missing anything.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Former Member
over 8 years ago
Hi Sikhi,
To clarify, you're looking to retrieve all versions of a document in a single pass, rather than multiple separate passes for SharePoint integration?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@sean.twombly Yes please and also for a specific version as well.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel