{"id":327,"date":"2016-11-19T09:46:47","date_gmt":"2016-11-19T09:46:47","guid":{"rendered":"https:\/\/maximoconcepts.wordpress.com\/?p=327"},"modified":"2016-11-19T09:46:47","modified_gmt":"2016-11-19T09:46:47","slug":"conditionally-changing-the-lookup-on-an-attribute","status":"publish","type":"post","link":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/","title":{"rendered":"Conditionally Changing the Lookup on an Attribute"},"content":{"rendered":"

Whenever I travel, I either read or I write. These days I am travelling a lot and I am on a writing spree, so you would be seeing quite a few posts from me.<\/p>\n

That brings me to this unique requirement to display different lookups on a field based on a condition. A simple example of this is displaying a location lookup on a field if, lets say the orgid is EAGLENA else display an asset lookup on the same field.<\/p>\n

This can be achieved through conditional UI in application designer.<\/p>\n

The images below show how to setup this through conditional UI on a field EQ1 on ASSET.<\/p>\n

\"2016-11-19-14_34_39-application-designer\"<\/p>\n

\"2016-11-19-14_32_21-application-designer\"<\/p>\n

\"2016-11-19-14_32_28-application-designer\"<\/p>\n

\"2016-11-19-14_39_46-assets\"<\/p>\n

\"2016-11-19-14_39_55-assets\"<\/p>\n

\"2016-11-19-14_40_22-assets\"<\/p>\n

\"2016-11-19-14_40_25-assets\"<\/p>\n

Have a great day!<\/p>\n","protected":false},"excerpt":{"rendered":"

Whenever I travel, I either read or I write. These days I am travelling a lot and I am on a writing spree, so you would be seeing quite a few posts from me. That brings me to this unique requirement to display different lookups on a field based on a condition. A simple example … Continue reading Conditionally Changing the Lookup on an Attribute<\/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":"\nConditionally Changing the Lookup on an Attribute - 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\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Conditionally Changing the Lookup on an Attribute - Maximo Concepts\" \/>\n<meta property=\"og:description\" content=\"Whenever I travel, I either read or I write. These days I am travelling a lot and I am on a writing spree, so you would be seeing quite a few posts from me. That brings me to this unique requirement to display different lookups on a field based on a condition. A simple example … Continue reading Conditionally Changing the Lookup on an Attribute\" \/>\n<meta property=\"og:url\" content=\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\" \/>\n<meta property=\"og:site_name\" content=\"Maximo Concepts\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-19T09:46:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png\" \/>\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\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\"},\"author\":{\"name\":\"Pranjal\",\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"headline\":\"Conditionally Changing the Lookup on an Attribute\",\"datePublished\":\"2016-11-19T09:46:47+00:00\",\"dateModified\":\"2016-11-19T09:46:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\"},\"wordCount\":119,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png\",\"articleSection\":[\"Configuration\",\"Technical\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\",\"url\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\",\"name\":\"Conditionally Changing the Lookup on an Attribute - Maximo Concepts\",\"isPartOf\":{\"@id\":\"https:\/\/maximoconcepts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png\",\"datePublished\":\"2016-11-19T09:46:47+00:00\",\"dateModified\":\"2016-11-19T09:46:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png?fit=1057%2C678&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png?fit=1057%2C678&ssl=1\",\"width\":1057,\"height\":678},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/maximoconcepts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conditionally Changing the Lookup on an Attribute\"}]},{\"@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":"Conditionally Changing the Lookup on an Attribute - 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\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/","og_locale":"en_GB","og_type":"article","og_title":"Conditionally Changing the Lookup on an Attribute - Maximo Concepts","og_description":"Whenever I travel, I either read or I write. These days I am travelling a lot and I am on a writing spree, so you would be seeing quite a few posts from me. That brings me to this unique requirement to display different lookups on a field based on a condition. A simple example … Continue reading Conditionally Changing the Lookup on an Attribute","og_url":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/","og_site_name":"Maximo Concepts","article_published_time":"2016-11-19T09:46:47+00:00","og_image":[{"url":"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png"}],"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\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#article","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/"},"author":{"name":"Pranjal","@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"headline":"Conditionally Changing the Lookup on an Attribute","datePublished":"2016-11-19T09:46:47+00:00","dateModified":"2016-11-19T09:46:47+00:00","mainEntityOfPage":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/"},"wordCount":119,"commentCount":2,"publisher":{"@id":"https:\/\/maximoconcepts.com\/#\/schema\/person\/2a0ce61af426d0c4038aeaa51cb0f98b"},"image":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png","articleSection":["Configuration","Technical"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/","url":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/","name":"Conditionally Changing the Lookup on an Attribute - Maximo Concepts","isPartOf":{"@id":"https:\/\/maximoconcepts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage"},"image":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage"},"thumbnailUrl":"https:\/\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png","datePublished":"2016-11-19T09:46:47+00:00","dateModified":"2016-11-19T09:46:47+00:00","breadcrumb":{"@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#primaryimage","url":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png?fit=1057%2C678&ssl=1","contentUrl":"https:\/\/i0.wp.com\/maximoconcepts.com\/wp-content\/uploads\/2016\/11\/2016-11-19-14_34_39-application-designer1.png?fit=1057%2C678&ssl=1","width":1057,"height":678},{"@type":"BreadcrumbList","@id":"https:\/\/maximoconcepts.com\/2016\/11\/19\/conditionally-changing-the-lookup-on-an-attribute\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/maximoconcepts.com\/"},{"@type":"ListItem","position":2,"name":"Conditionally Changing the Lookup on an Attribute"}]},{"@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\/327"}],"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=327"}],"version-history":[{"count":0,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"wp:attachment":[{"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maximoconcepts.com\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}