none
How to display an image in Project Center View? RRS feed

  • Question

  • Hello Community,

    i want to display an Image (traffic light) in the Project Center view. In this specific case i dont want to use a lookup fiel to display the image. I want to use a costum field with a IIF() formula.

    Here is an example of the formula design:

    IIf([TEST] = "Accepted"; "IMAGE"; "0")

    In SharePoint lists you use the following formulas:

    IIf([TEST] = "Accepted"; "<img src='/_layouts/15/inc/PWA/images/cf_53p.png' border='0'/>"; "0")

    The second formula doesn´t work in the Project Center view.

    Can anyone help me in this case?!

    Thanks in advance

    Tuesday, February 9, 2016 1:21 PM

Answers

  • Hi,

    in Project Server, you can't use your own icons. But there are some default ones. Open Your field with formula and enter any value in true and false condition, e.g. IIf([TEST] = "Accepted"; "1"; "0").

    Scroll down to "Values to Display" and select Graphical indicators. Enter a line "equals" as test, "1" as value and select an image you want to use. You can also enter additional lines, if you have more results by your formula, you want to get displayed in various icons.

    If you activate "Show data values in ToolTips", the result from your formula will be displayd with mouse-over.

    Regards
    Barbara


    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find an appropriate solution faster. Thanks for your support!

    Tuesday, February 9, 2016 1:45 PM
    Moderator

All replies

  • Hi,

    in Project Server, you can't use your own icons. But there are some default ones. Open Your field with formula and enter any value in true and false condition, e.g. IIf([TEST] = "Accepted"; "1"; "0").

    Scroll down to "Values to Display" and select Graphical indicators. Enter a line "equals" as test, "1" as value and select an image you want to use. You can also enter additional lines, if you have more results by your formula, you want to get displayed in various icons.

    If you activate "Show data values in ToolTips", the result from your formula will be displayd with mouse-over.

    Regards
    Barbara


    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find an appropriate solution faster. Thanks for your support!

    Tuesday, February 9, 2016 1:45 PM
    Moderator
  • Hi Barbara,

    thank you for this useful tip. Works great!

    Regards
    Lars

    Wednesday, February 10, 2016 8:26 AM