Let's follow up this discussion at the Neptune Community

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

Pass URL to Link object


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


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:



Ole Andre 

That helped a lot, thanks!

Login or Signup to post a comment