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
8 replies
Subscribers
11 subscribers
Views
2371 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have created one Record Type where in I am showing the list of folders. And wh
kalpenp
over 10 years ago
I have created one Record Type where in I am showing the list of folders. And when user click on that folder it shows the documents in that folder.
Now I need to add one more level. When user click on the folders, it shows the list of subfolders. And when user select the subfolder, it shows the list of documents inside that. How can I achieve this functionality?...
OriginalPostID-96919
OriginalPostID-96919
Discussion posts and replies are publicly visible
0
sikhivahans
over 10 years ago
Hi Kalpenp, could you let me know the version on which you are working
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kalpenp
over 10 years ago
7.3
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 10 years ago
The getDocumentsFromFolder() plugin function only retrieves the document, If you want to differentiate between folder and files, your best bet is to extend the code to fit your purpose.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 10 years ago
@kalpenp, Hope I understood you correctly, You need to proceed with a work around in your scenario where the UI might be compromised a bit. What you could do for this is, you can have a button below/ beside each folder you are showing, and on-click of this button you can fetch the contents (documents/ folders) and show it in a separate section below/beside the folder with a dynamic name such as "Contents from xyz". This could be achieved if you build a rule which does all these stuff and there after call it in a repetitive fashion. Let me know if you have any concerns.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kalpenp
over 10 years ago
Thank you for your comments.
@sikhivahans - Isn't it possible to achieve this without using the button. Simply browse the folder like we do in suite/designer? If it is not possible, I guess the workaround you said should work for me. I will try to implement that. Thanks again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 10 years ago
You should be able to do this using a!dynamicLink which is a feature of Appian 7.4. You need to create a section that is populated with dynamic component made up of dynamicLink and Link field. The dynamic link will be created for folder whilst the link will be the link to the document.
Having said that, you still need a function to return all the folders within a folder. Hope this helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 10 years ago
@kalpenp, The work around will work for sure. You could let me know any issues if you go for implementation. It isn't possible in the 7.3 without a button as you know the limitations of 7.3, (as specified by sathya.srinivasan, many of these are overcome by 7.4).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kalpenp
over 10 years ago
Thanks Sathya and sikhivahans. As I will be using 7.3 I has to go with the button.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel