1

I am currently working with sharepoint hosted apps.

Each app has a List, which i create from visual studio. The client needs some default rows for each list. In some cases a row may have an image. This image is a Url type column with the Format property set to Image

Each default image is contain within 'Images' module for each project. For example:

Structure

I've tried, with no luck, doing something like the following inside Elements.xml List Instance. However whenever i try to deploy, Visual studio prompts a 'Installation Failed' message with the output: Invalid URL

example

What could i do?

Thanks in advance

  • did you find any fix for this? – Ali May 27 '16 at 0:46
0

I tried this and worked.

<Field Name="Image">~site/Images/Explore.png</Field>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.