Possible to change the default Search Panel in EDG?

32 views
Skip to first unread message

elvin.d...@gmail.com

unread,
Feb 5, 2021, 5:07:31 AM2/5/21
to TopBraid Suite Users
I'm looking for a way to dynamically change filter parameters and or search inputs from the search panel in EDG. How it works now is you can manully select filter options based on the class you choose from the pulldown but I want to make this more 'data driven'. 
Do I need to download project files, modify swp / shacl and upload the modified project files into EDG? If so - is there any kind of documentation for this?

Screenshot 2021-02-05 110450.jpg

Holger Knublauch

unread,
Feb 6, 2021, 8:32:29 PM2/6/21
to topbrai...@googlegroups.com

I am not clear what you are trying to change. Could you clarify?

I assume you are aware that you can save queries to be the default, so that anyone visiting the class will have certain filters pre-selected?

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/89db9bf5-43c1-4d39-9917-d3013c476730n%40googlegroups.com.

Elvin Dechesne

unread,
Feb 7, 2021, 6:11:08 PM2/7/21
to topbrai...@googlegroups.com
Dear Holger
Thanks for your reply.
Basically what I am looking for is a way to modify the way the Search Panel works. Can I add some of my own (data driven) logic to it?
Is it based on some SWP config we can modify in a custom project for instance?
Cheers

You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/t5bkDrRtjNE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/508fca57-28f3-46e7-ef74-c870dccce3cb%40topquadrant.com.


--
Elvin Dechesne

Holger Knublauch

unread,
Feb 7, 2021, 6:16:15 PM2/7/21
to topbrai...@googlegroups.com

Hi Elvin,

the Search Panel is hard-coded in React and produces GraphQL queries. And the filter conditions of the GraphQL service is also hard-coded in Java.

Do you mean to add new kinds of filters? What would those be?

Depending on your detailed requirements, you may be better off creating a new panel from scratch. Alternatively, consider using SPARQL Queries, esp via the Saved Queries feature. This would allow you in principle to let users enter parameters (if the variables start with $) and then you have all freedom to express what you want as long as SPARQL can express it.

Holger

Irene Polikoff

unread,
Feb 8, 2021, 12:27:33 AM2/8/21
to topbrai...@googlegroups.com
On Feb 7, 2021, at 6:16 PM, Holger Knublauch <hol...@topquadrant.com> wrote:

Hi Elvin,

the Search Panel is hard-coded in React and produces GraphQL queries. And the filter conditions of the GraphQL service is also hard-coded in Java.

Do you mean to add new kinds of filters? What would those be?

Depending on your detailed requirements, you may be better off creating a new panel from scratch. Alternatively, consider using SPARQL Queries, esp via the Saved Queries feature. This would allow you in principle to let users enter parameters (if the variables start with $) and then you have all freedom to express what you want as long as SPARQL can express it.

Holger



On 2021-02-08 9:10 am, Elvin Dechesne wrote:
Dear Holger
Thanks for your reply.
Basically what I am looking for is a way to modify the way the Search Panel works. Can I add some of my own (data driven) logic to it?
Is it based on some SWP config we can modify in a custom project for instance?
Cheers

On Sun, Feb 7, 2021 at 2:32 AM Holger Knublauch <hol...@topquadrant.com> wrote:

I am not clear what you are trying to change. Could you clarify?

I assume you are aware that you can save queries to be the default, so that anyone visiting the class will have certain filters pre-selected?

<cnibjkmamfmfench.png>

Holger


On 2021-02-05 8:07 pm, elvin.d...@gmail.com wrote:
I'm looking for a way to dynamically change filter parameters and or search inputs from the search panel in EDG. How it works now is you can manully select filter options based on the class you choose from the pulldown but I want to make this more 'data driven'. 
Do I need to download project files, modify swp / shacl and upload the modified project files into EDG? If so - is there any kind of documentation for this?

Screenshot 2021-02-05 110450.jpg
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/89db9bf5-43c1-4d39-9917-d3013c476730n%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/t5bkDrRtjNE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/508fca57-28f3-46e7-ef74-c870dccce3cb%40topquadrant.com.


--
Elvin Dechesne
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAObHpNpjCxOztNL5DM_Qg%2BbG-jOZABk79y%2Bx6%2BLm3FSsjQZVbA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages