Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Solved

Pass URL to Link object

Hi,


I'm very new to UI5 and Neptune so please excuse this basic question.


I want to pass a URL dynamically to a "Link" : the URL, eg www.bbc.co.uk is held in an attribute (type STRING) in the class, but I can't bind this to the href property in my Link object. What am I doing wrong?


Thanks for your help.

Kind regards

Gareth



Hi Gareth


You need to use structures or internal tables as possible objects to bind data in the Application Class. Use structure on containers like sap.m.Page and use internal tables on sap.m.Table/List.


Then you can bind the src property on the sap.m.Link object.


You also need to get the data from SAP. Please look at this topic:

http://support.neptune-software.com/solution/categories/126081/folders/264749/articles/184028-data


Regards

Ole Andre 


That helped a lot, thanks!

Login or Signup to post a comment