Quantcast
Viewing all articles
Browse latest Browse all 10045

Trying to render an Image using a SharePoint List and SQL Database get an error message and image does not render

I am having trouble rendering an image. I receive an error message

 

Warning        3        [rsInvalidDatabaseImageProperty] The value of the ImageData property for the image ‘Image3’ is “=Fields!Prelink.Value+(Lookup(Fields!Project_Number.Value,Fields!ITISProject.Value,Fields!Required_Field__must_be_selected_for_picture_library_details_view_.Value,"L"))”, which is not a valid ImageData.        

 

Here is the Set-up

Sharepointlist (L).. Contains the image and a primary key

 

ProejctWebApp (D) (database) … with additional data and primary key.

 

I can create a table using the L as the primary and lookup() for the D. The table finds and displays the correct images.  For the Image element on the list I use a calculate column to provide the full image path name

="HTTP://Servername/"+Fields!Required_Field__must_be_selected_for_picture_library_details_view_.Value

 

I cannot do it the other way around where D is the primary and use lookup() to find the image. The D contains 95% of the details I need to show on the report. I get the above error message

 

I created the following expr

=Fields!Prelink.Value+(Lookup(Fields!Project_Number.Value,Fields!ITISProject.Value,Fields!Required_Field__must_be_selected_for_picture_library_details_view_.Value,"L"))

Which returns the correct value (being the full image path/URL) when added to a column. 

However when I insert an image into a column and use this expr … I get the above error message

 

Any ideas on a better way (OK the correct way) to do this?

 

Regards

Andrew


Andrew Payze


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>