Skip to Content
author's profile photo Former Member
Former Member

Cockpit saved query questions and CockpitSavedParameterValue documentation

Hi experts,

How to set restriction "Product.picture is null" for cockpit saved query?

Why cockpit's saved query parameter "Product.description is empty" always reset after saved query has been re-executed?

Please let me know where can I read any guides about CockpitSavedParameterValue properties. How to fill "Operator Qualifier", "Parameter Qualifier", "Raw Value" and "Reference" values?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2015 at 10:19 PM

    Hi Vladimir, I was wondering if you ever got this to work for you as I need the exact same requirements. I do know that the Product.description isEmpty keeps on resetting because you need to specify a default rawValue. As far as the picture is null issue we decided to just create a boolean on the product and check that instead. However, that doesn't seem to be working. I tried exposing the boolean option in the advanced search and saving it that way and as it turns out hybris cockpit will save it as a base64 encoded value. Not sure why in the world it does that, but I can't insert a base64 encoded value into a boolean. So, it looks like perhaps the only workaround for this is to use a basic string and check that. SMH

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.