Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Active forums

Active Forums RSS September 02, 17:37
Style properties

August 31, 21:46
antrun not found

August 31, 14:12
WCB customprofile

August 31, 12:10
End of flow not doing its job

August 24, 12:37
Sort mediaItem by expiration date

 All Forums...


Classifications in a query

The "GX WebManager Usage" forum covers all topics concerning the actual usage of GX WebManager. Topics include using editor functions, content elements, workflow, authorizations, My WebManager, Media repository, Personalization, Page templates, etc.

Answered
Not marked as answered yet

Forums  >  GX WebManager Usage  >  Classifications in a query


Author Classifications in a query
raan


Posts: 10

Posted: 05-11-2009 08:56

Hello,

I have made a query to make a list of all terms (table wmjellywebterm). Now a want to get the classification of a term.
Where can I find the classifications in the database?

johnd



Posts: 32

Posted: 05-11-2009 10:30 Solved

Hi,

maybe something like this (in WM9) is useful to you:


select top 10 t.value as term, g.grouping as classification
from wmJellyWebTerm t
left join wmJellyWebTermGrouping tg on tg.webterm = t.id
left join wmJellyTermGrouping g on g.id = tg.grouping

raan


Posts: 10

Posted: 05-11-2009 12:31

Hi John,

Thanks, that's what I need.

williamb



Posts: 234

Posted: 05-11-2009 16:44

Just wondering, but you do know you can use the api to do this? Otherwise your code may be broken if the data-model changes.

michelt



Posts: 11

Posted: 09-01-2010 18:03

Uhm... John..

This is what we formally named a Closed Core Violation...or...

Though shall not query directly from internal GX Webmanager tables if there's an api that can give you the same result. And if no API, Any GX project has to have special approval before you can go down this path... Let's for instance assume you'd save an id from wmJellyContent in pre GX Webmanager 9.9. There comes versions in the Media Repository (GX Webmanager 9.9) and stuff probably won't work anymore...

So please... don't..;)

You can bet your WCB won't get certified bij GX if you do (see the WCB Guidelines why)

Regards,

Michel

johnd



Posts: 32

Posted: 11-01-2010 09:10

He's not telling us he want's to use it in a JSP. Maybe he just want an overview (for now)...

Cthulhu



Posts: 198

Posted: 22-01-2010 11:51

[quote=johnd]He's not telling us he want's to use it in a JSP. Maybe he just want an overview (for now)...

It's a common rule that quick fixes and dirty hacks somehow always make it to production code, to break the application at the least suitable time, ;).

Back to top

New message: "Classifications in a query"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.