Forum Discussion

Keyser_Soze's avatar
Keyser_Soze
Contributor
2 years ago

Workflow Status Types | Images/Icons

Hello,
I made a Grid View containing all WF Profile statuses for the current period & cube:

I am struggling to do one little trick, changing the column 'Status' icon accordingly ... In the Grid View, I am under the impression that it only recognises 'Status = 2' as green circle, 'Status = 10' as red circle and 'Status = 1' as Blue circle and 'Status = 0' as Empty circle. 

My question: How can I add 'Locked WF' image, 'Locked, Not Started' and all other states ? Is it possible to put an image of our picking in the grid view's status column ?

Temporary solution:
I Used the 'Report Designer', since it is the only component I found that enables me to choose an image of my picking but It's not as satisfying as having it in a BIViewer/GridView. Image below


 

  • JackLacava's avatar
    JackLacava
    2 years ago

    Solved this, courtesy of a Marketplace Solution that will remain nameless...

    There is a library containing all the images:

    In order for "OneStreamClientImage" to work, your dataset will need to contain, in the column you want transformed to icons, the names associated with each status, e.g. what you get from XFClientImageTypes.StatusLockedWithFolder.Name .

  • NicolasArgente's avatar
    NicolasArgente
    Valued Contributor

    Hi Keyser_Soze 

    I did a bit of reaserch and could not find the status you are looking for. Here are the status I could find : 
    Unknown = -1
    NotExecuted = 0
    InProcess = 1
    Completed = 2
    HasError = 10
    NoStatus = 20
    So I hope it answers your question on "How can I add 'Locked WF' image, 'Locked, Not Started' and all other states ". As far as I see it, you wont find those statuses. Please if you come to another conclusion, share it 🙂
    Cheers,
    Nic



    • Keyser_Soze's avatar
      Keyser_Soze
      Contributor

      Thanks for replying,

      This is all I could come on up with too ....

      Nevertheless, you think it might be possible to fill a Grid View's Cell with a random image of our choosing ?  Through BI Viewer or Grid View

  • Your expertise is needed if you may,  JackLacava. I tried using 'OneStreamClientImage' for the Grid View's column that contains 'Directory Path' And 'System.Byte' of the image I wish to display. In vain of course ...

    • JackLacava's avatar
      JackLacava
      Honored Contributor

      Solved this, courtesy of a Marketplace Solution that will remain nameless...

      There is a library containing all the images:

      In order for "OneStreamClientImage" to work, your dataset will need to contain, in the column you want transformed to icons, the names associated with each status, e.g. what you get from XFClientImageTypes.StatusLockedWithFolder.Name .

      • Sergey's avatar
        Sergey
        Contributor III

        Just in case someone might need it 😁