{"id":23,"date":"2015-08-11T09:37:15","date_gmt":"2015-08-11T09:37:15","guid":{"rendered":"https:\/\/maximoconcepts.wordpress.com\/?p=23"},"modified":"2015-08-11T09:37:15","modified_gmt":"2015-08-11T09:37:15","slug":"lookup-with-whereclause","status":"publish","type":"post","link":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/","title":{"rendered":"Lookup With WhereClause"},"content":{"rendered":"

Did you know that you can create lookups in Maximo (in the lookups.xml)\u00a0with whereclause and attach it to an attribute in application designer. The attribute doesn’t require\u00a0a\u00a0domain to be attached to it to show the data in the lookup .<\/p>\n

\"Lookup_WhereClause\"<\/a><\/p>\n

The lookup will simply query the object\u00a0mentioned in the mboname<\/em> with the whereclause<\/em> and display the result. The only drawback to this approach is that there is no validation on the attribute – any value entered in the field would be accepted without any validation.<\/p>\n

The where clause also accepts run-time variables such as :user.<\/p>\n

This is useful in places such as report request pages where a parameter needs to be passed to the report with a lookup which shows much filtered data then is\u00a0usually shown in the lookup in\u00a0the application.<\/p>\n

For instance this asset availability report request page has a parameter as Tool which only shows items of type tool and not all the items.<\/p>\n

\"ReportRequestPage_ToolLookup\"<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

Did you know that you can create lookups in Maximo (in the lookups.xml)\u00a0with whereclause and attach it to an attribute in application designer. The attribute doesn’t require\u00a0a\u00a0domain to be attached to it to show the data in the lookup . The lookup will simply query the object\u00a0mentioned in the mboname with the whereclause and display … Continue reading Lookup With WhereClause<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"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":""},"categories":[11,5],"tags":[],"yoast_head":"\nLookup With WhereClause - Maximo Concepts<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lookup With WhereClause - Maximo Concepts\" \/>\n<meta property=\"og:description\" content=\"Did you know that you can create lookups in Maximo (in the lookups.xml)\u00a0with whereclause and attach it to an attribute in application designer. The attribute doesn’t require\u00a0a\u00a0domain to be attached to it to show the data in the lookup . The lookup will simply query the object\u00a0mentioned in the mboname with the whereclause and display … Continue reading Lookup With WhereClause\" \/>\n<meta property=\"og:url\" content=\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\" \/>\n<meta property=\"og:site_name\" content=\"Maximo Concepts\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-11T09:37:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300\" \/>\n<meta name=\"author\" content=\"Pranjal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pranjal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\"},\"author\":{\"name\":\"Pranjal\",\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"headline\":\"Lookup With WhereClause\",\"datePublished\":\"2015-08-11T09:37:15+00:00\",\"dateModified\":\"2015-08-11T09:37:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\"},\"wordCount\":166,\"commentCount\":13,\"publisher\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300\",\"articleSection\":[\"Configuration\",\"Technical\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\",\"url\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\",\"name\":\"Lookup With WhereClause - Maximo Concepts\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300\",\"datePublished\":\"2015-08-11T09:37:15+00:00\",\"dateModified\":\"2015-08-11T09:37:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage\",\"url\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300\",\"contentUrl\":\"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/maximoconcepts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lookup With WhereClause\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/maximoconcepts.com\/#website\",\"url\":\"https:\/\/maximoconcepts.com\/\",\"name\":\"Maximo Concepts\",\"description\":\"Concepts Simplified.\",\"publisher\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/maximoconcepts.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\",\"name\":\"Pranjal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1\",\"width\":516,\"height\":520,\"caption\":\"Pranjal\"},\"logo\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/maximoconcepts.com\/author\/pranjal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Lookup With WhereClause - Maximo Concepts","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/","og_locale":"en_GB","og_type":"article","og_title":"Lookup With WhereClause - Maximo Concepts","og_description":"Did you know that you can create lookups in Maximo (in the lookups.xml)\u00a0with whereclause and attach it to an attribute in application designer. The attribute doesn’t require\u00a0a\u00a0domain to be attached to it to show the data in the lookup . The lookup will simply query the object\u00a0mentioned in the mboname with the whereclause and display … Continue reading Lookup With WhereClause","og_url":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/","og_site_name":"Maximo Concepts","article_published_time":"2015-08-11T09:37:15+00:00","og_image":[{"url":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300"}],"author":"Pranjal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pranjal","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#article","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/"},"author":{"name":"Pranjal","@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"headline":"Lookup With WhereClause","datePublished":"2015-08-11T09:37:15+00:00","dateModified":"2015-08-11T09:37:15+00:00","mainEntityOfPage":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/"},"wordCount":166,"commentCount":13,"publisher":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"image":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300","articleSection":["Configuration","Technical"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/","url":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/","name":"Lookup With WhereClause - Maximo Concepts","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage"},"image":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300","datePublished":"2015-08-11T09:37:15+00:00","dateModified":"2015-08-11T09:37:15+00:00","breadcrumb":{"@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#primaryimage","url":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300","contentUrl":"https:\/\/maximoconcepts.files.wordpress.com\/2015\/08\/lookup_whereclause.png?w=300"},{"@type":"BreadcrumbList","@id":"https:\/\/maximoconcepts.com\/2015\/08\/11\/lookup-with-whereclause\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/maximoconcepts.com\/"},{"@type":"ListItem","position":2,"name":"Lookup With WhereClause"}]},{"@type":"WebSite","@id":"https:\/\/maximoconcepts.com\/#website","url":"https:\/\/maximoconcepts.com\/","name":"Maximo Concepts","description":"Concepts Simplified.","publisher":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/maximoconcepts.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b","name":"Pranjal","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1","contentUrl":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2015\/08\/dscn4443-2.jpg?fit=516%2C520&ssl=1","width":516,"height":520,"caption":"Pranjal"},"logo":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/image\/"},"url":"https:\/\/maximoconcepts.com\/author\/pranjal\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":0,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"wp:attachment":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}