{"id":738,"date":"2020-01-21T15:36:59","date_gmt":"2020-01-21T21:36:59","guid":{"rendered":"https:\/\/linux.asberry.org\/blog_tech\/?p=738"},"modified":"2024-05-14T09:13:25","modified_gmt":"2024-05-14T14:13:25","slug":"tcc-static-level-decode","status":"publish","type":"post","link":"https:\/\/asberry.org\/blog_tech\/?p=738","title":{"rendered":"TCC &#8211; Static Level Decode"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is for when you&#8217;re trying to list out location1, location2, etc&#8230;<br>Much easier to build as a complex projection but then the GUI converts it so you have to start from scratch to change.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; auto-links: false; light: false; title: ; toolbar: true; notranslate\" title=\"\">\n&lt;quer:projection alias=&quot;LocationLevel1&quot; xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\n        &lt;quer:decode&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Level&quot;\/&gt;\n            &lt;quer:string&gt;1&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Name&quot;\/&gt;\n            &lt;quer:string&gt;2&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;3&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;4&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;5&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Parent,Parent,Name&quot;\/&gt;\n        &lt;\/quer:decode&gt;\n&lt;\/quer:projection&gt;\n\n&lt;quer:projection alias=&quot;LocationLevel2&quot; xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\n        &lt;quer:decode&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Level&quot;\/&gt;\n            &lt;quer:string&gt;1&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;2&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Name&quot;\/&gt;\n            &lt;quer:string&gt;3&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;4&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;5&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Parent,Name&quot;\/&gt;\n        &lt;\/quer:decode&gt;\n&lt;\/quer:projection&gt;\n\n&lt;quer:projection alias=&quot;LocationLevel3&quot; xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\n        &lt;quer:decode&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Level&quot;\/&gt;\n            &lt;quer:string&gt;1&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;2&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;3&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Name&quot;\/&gt;\n            &lt;quer:string&gt;4&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Name&quot;\/&gt;\n            &lt;quer:string&gt;5&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Parent,Name&quot;\/&gt;\n        &lt;\/quer:decode&gt;\n&lt;\/quer:projection&gt;\n\n&lt;quer:projection alias=&quot;LocationLevel4&quot; xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\n        &lt;quer:decode&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Level&quot;\/&gt;\n            &lt;quer:string&gt;1&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;2&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;3&lt;\/quer:string&gt;\n            &lt;quer:string\/&gt;\n            &lt;quer:string&gt;4&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Name&quot;\/&gt;\n            &lt;quer:string&gt;5&lt;\/quer:string&gt;\n            &lt;quer:field path=&quot;JobInformation,PrimaryLocation,Parent,Name&quot;\/&gt;\n        &lt;\/quer:decode&gt;\n&lt;\/quer:projection&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>This is for when you&#8217;re trying to list out location1, location2, etc&#8230;Much easier to build as a complex projection but then the GUI converts it so you have to start from scratch to change.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-738","post","type-post","status-publish","format-standard","hentry","category-tcc","author-aron"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4bBkH-bU","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=738"}],"version-history":[{"count":1,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/738\/revisions"}],"predecessor-version":[{"id":742,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/738\/revisions\/742"}],"wp:attachment":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}