Issue in format Image column

I am following Steps-by-step Guide (#5) using Community Edition, and facing this issue 


can anyone help? 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Your screenshot shows recordType!W2246AMA Vehicle in the left panel, but you typed recordType!W#SA Vehicle 

    Try both format

    Using Index

    if(
      a!isNullOrEmpty(
        index(fv!row, "image", null)
      ),
      a!EXAMPLE_DOCUMENT_IMAGE(),
      index(fv!row, "image", null)
    )


    Using record 
    if(
      a!isNullOrEmpty(
        fv!row[recordType!W2246AMA Vehicle.fields.image]
      ),
      a!EXAMPLE_DOCUMENT_IMAGE(),
      fv!row[recordType!W2246AMA Vehicle.fields.image]
    )


Reply
  • 0
    Certified Lead Developer

    Your screenshot shows recordType!W2246AMA Vehicle in the left panel, but you typed recordType!W#SA Vehicle 

    Try both format

    Using Index

    if(
      a!isNullOrEmpty(
        index(fv!row, "image", null)
      ),
      a!EXAMPLE_DOCUMENT_IMAGE(),
      index(fv!row, "image", null)
    )


    Using record 
    if(
      a!isNullOrEmpty(
        fv!row[recordType!W2246AMA Vehicle.fields.image]
      ),
      a!EXAMPLE_DOCUMENT_IMAGE(),
      fv!row[recordType!W2246AMA Vehicle.fields.image]
    )


Children
No Data