on 2014 Jun 30 8:26 AM
Hello,
At the moment I am working on an embedded component for the marketing lead TI.
The purpose of the component is to show a image stored in the attachment folder.
In order to realize my plan I used a image control in the UI designer and bound it to the BinaryObject of the document from the attachment folder.
However, the stored image won't be shown in the image control.
Do you have any suggestions to solve my problem?
Thank you in advance
Best regards
Sebastian
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share some screenshots?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo,
here are the screenshots:
and the sreenshot from the data model:
I also tried to bound the image control to the pathname, but the image won´t be shown.
When I use a static image-URL from the web, the image will be displayed. Maybe I should use
a URI from the Attachment Content, but I dont know how to create a URI from the file content.
(The field FileContentURI is empty)
Do you have any suggestions?
Thank you for help.
Best regards
Sebastian
For your last question I think BinaryObject.
You need to perform a code like this on the collection:
var selected = this.collection.where(n => n.<property> = <selection value>);
and put the selected var in an attribute of your BO.
Then bind the attribute in the data model and finally with the image control
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.