I am trying to pre-populate my SharePoint list using its List Instance in SharePoint hosted app with default data. And it seems to work for the below code.
<ListInstance ...>
<Data>
<Rows>
<Row>
<Field Name="URL">http://google.com, Project Link</Field>
</Row>
</Rows>
</Data>
But when i try to add the URL from list in my app it is not working.
<ListInstance ...>
<Data>
<Rows>
<Row>
<Field Name="URL">~appWebUrl/Lists/SiteImages/image.png, Project Link</Field>
</Row>
</Rows>
</Data>
What is the syntax for this?
I don't believe it is possible to use tokens like ~appWebUrl in xml list instance definition. I suggest just to put relative url, e.g.