0

I have on my site a Business Data Connectivity list with a field which equals some urls.

I found some internet links to change the url text to the image which the text points on. But it's not working.

This is my list:

enter image description here

And these are the fields with the text url:

<td class="ms-vb">
    <xsl:attribute name="style">
      <xsl:choose>
        <xsl:when test="$dvt_1_form_selectkey = @*[name()=$ColumnKey]">color:blue</xsl:when>
        <xsl:otherwise />
      </xsl:choose>
    </xsl:attribute>
    <xsl:variable name="fieldValue">
      <xsl:call-template name="LFtoBR">
        <xsl:with-param name="input">
          <xsl:value-of select="@url" />
        </xsl:with-param>
      </xsl:call-template>
    </xsl:variable>
    <xsl:copy-of select="$fieldValue" />
  </td>

What should I change to show the text from the url field as a picture which the url points on?

0

It should work if you selected the field type as Hyperlink or Picture and selected the option, 'Picture'

| improve this answer | |
  • Where can i format the field as such a Hyperlink or Picture in a BCS List? – user25772 Sep 24 '15 at 12:39
  • Go to the list definition and then to the column definition. You should have an option to choose 'Picture' – Vamsi K K Sep 24 '15 at 13:00

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.