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
8 subscribers
Views
2246 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I need to provide user a mobile form, with all attachments that where done as pr
harishn
over 11 years ago
I need to provide user a mobile form, with all attachments that where done as process progresses. Links fields only show document name and size. Can we also include the person who uploaded and when he uploaded - as a list?...
OriginalPostID-73520
OriginalPostID-73520
Discussion posts and replies are publicly visible
0
Vicky
over 11 years ago
You can use the function documenttable() for this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
documentable wont work on mobile form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 11 years ago
Harish: the one suggestion I could offer is that you create a paging grid consisting of the documents you wish to offer the user. Prior to the user input task you can have a script task which takes the properties of the documents you want to show and puts them into a multiple-CDT (you may need to create a new simple CDT for documentProperties, consisting of filename, size, date modified, user modified, etc). Then you can simply show the contents of this CDT array in a selectable paging grid. The user can select a document from the list and press a button called "view selected"; you can either take the docId and offer it as a link on a subsequent form, but what I prefer is to loop the user back to the same form (to simulate seamlessness) and show a link to the selected document underneath the paging grid. That way, they can "view" multiple documents until they're done. It's a bit of extra work to do this, but it's fairly easy and the results will be very good-looking on mobile.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 11 years ago
The above is a good approach but you CAN put document links inside paging grids so there is no need to create another form or looping process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harishn
over 11 years ago
Thanks every one for your inputs. mschmitt, will
tim.clarke - Please correct me. I believe the links you are talking about are plain text - not click-enabled?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 11 years ago
No, they are genuine dynamic links. In your CDT add a column to hold the value and then something along the lines of:
apply(fn!linktodocument, merge(pv!cdtArray.docId,pv!cdtArray.docName))
We have this deployed in 6.7.1 and 7.2 and mobile so it is definitely doable. Hope it helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harishn
over 10 years ago
Thanks tim will try that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike
over 10 years ago
Tim, did you put this column in a GridTextColumn in the keyword data? We get the correct linktodocument in the column, but it shows up as text and is not clickable. We tried the type!linkfield in the GridTextColumn but that renders an error. Curious on how you got this to work in a paging grid? thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel