{"id":988,"date":"2008-12-02T22:02:20","date_gmt":"2008-12-03T02:02:20","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/"},"modified":"2008-12-03T09:23:58","modified_gmt":"2008-12-03T13:23:58","slug":"how-to-create-user-for-read-only-responsibilites-in-frontend-apps","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/","title":{"rendered":"How to create user for Read only responsibilites in frontend apps"},"content":{"rendered":"<p>Steps mentioned below are to create <strong>User <\/strong>with<strong> Read Only Responsibility<\/strong> and require fair amount of development knowledge<\/p>\n<p><strong>1.<\/strong> Go to $Au_TOP\/resource.<br \/>\n<strong>2.<\/strong> Copy CUSTOM.pll and open the file in <strong>Form builder<\/strong>.<br \/>\n<strong>3.<\/strong> If you will open the package body of <strong>CUSTOM.pll<\/strong> in the forms builder then you will find the like below :<\/p>\n<p><font color=\"#ff0000\">procedure event(event name varchar2) is<br \/>\n&#8212;<br \/>\n&#8212; This procedure allows you to execute your code at specific events<br \/>\n&#8212; including:<br \/>\n&#8212;<br \/>\n&#8212; ZOOM<br \/>\n&#8212; WHEN-NEW-FORM-INSTANCE<br \/>\n&#8212; WHEN-NEW-BLOCK-INSTANCE<br \/>\n&#8212; WHEN-NEW-RECORD-INSTANCE<br \/>\n&#8212; WHEN-NEW-ITEM-INSTANCE<br \/>\n&#8212; WHEN-VALIDATE-RECORD<br \/>\n===============<br \/>\n<\/font><br \/>\nAlready the &#8216;WHEN-NEW-FORM-INSTANCE&#8217; is described.<\/p>\n<p>You need to add the below query (point 4) in the package body of<br \/>\n<strong>CUSTOM.pll<\/strong>. and then Compile it<\/p>\n<p><strong>4.<\/strong> Query to add in <strong>custom.pll<\/strong><\/p>\n<p><font color=\"#ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0 BEGIN<\/font><\/p>\n<p><font color=\"#ff0000\">IF event_name = &#8216;WHEN-NEW-FORM-INSTANCE&#8217; THEN<br \/>\nIF FND_PROFILE.VALUE(&#8216;USER_NAME&#8217;)=&#8217; xxxxxx&#8217; THEN<\/font><\/p>\n<p><font color=\"#ff0000\">BEGIN<br \/>\nCOPY(&#8216;Entering app_form.query_only_mode.&#8217;,&#8217;global.frd_debug&#8217;);<br \/>\nCOPY(&#8216;YES&#8217;, &#8216;PARAMETER.QUERY_ONLY&#8217;);<br \/>\nAPP_MENU2.SET_PROP(&#8216;FILE.SAVE&#8217;, ENABLED,PROPERTY_OFF);<br \/>\nAPP_MENU2.SET_PROP(&#8216;FILE.ACCEPT&#8217;, ENABLED,PROPERTY_OFF);<br \/>\nformname := NAME_IN(&#8216;system.current_form&#8217;);<br \/>\nblockname := GET_FORM_PROPERY(formname, FIRST_BLOCK);<\/font><\/p>\n<p><font color=\"#ff0000\">WHILE (blockname is not null) LOOP<br \/>\nIF (GET_BLOCK_PROPERTY(blockname, BASE_TABLE) is not NULL) THEN<br \/>\nSET_BLOCK_PROPERTY(blockname, INSERT_ALLOWED, PROPERTY_FALSE);<br \/>\nSET_BLOCK_PROPERTY(blockname, UPDATE_ALLOWED, PROPERTY_FALSE);<br \/>\nSET_BLOCK_PROPERTY(blockname, DELETE_ALLOWED, PROPERTY_FALSE);<br \/>\nEND IF;<\/font><\/p>\n<p><font color=\"#ff0000\">blockname := GET_BLOCK_PROPERTY(blockname, NEXTBLOCK);<br \/>\nEND LOOP;<br \/>\nEND query_only_mode;<br \/>\nEND IF;<br \/>\nEND IF;<br \/>\nEND;<br \/>\n<\/font><br \/>\n<strong>5.<\/strong> Next step is to create <strong>Profile Option<\/strong> name <strong>FND_PROFILE.VALUE<\/strong> using <strong>application developer<\/strong> as shown in screenshot and then <strong>set this profile option<\/strong> at <strong>user level<\/strong><\/p>\n<p><strong>5.1<\/strong> Go to Application developer-&gt;profile and create the profile as below<\/p>\n<p><a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\" \/><\/a><\/p>\n<p><strong>5.2<\/strong> Go to System Administrator-&gt;profile-&gt;system<br \/>\nas shown in screen<\/p>\n<p><a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_2.JPG\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_2.thumbnail.JPG\" \/><\/a><\/p>\n<p><strong>6.<\/strong>\u00a0\u00a0\u00a0 Copy the <strong>CUSTOM.pll<\/strong> from Form Builder to the server i.e. to <strong>$AU_TOP\/resource<\/strong>.<\/p>\n<p><strong>7.<\/strong>\u00a0\u00a0\u00a0 Compile the CUSTOM.pll file by using the command<\/p>\n<p><strong>f60gen module=CUSTOM.pll userid=apps\/xxxxx\u00a0 module_type=library<\/strong><\/p>\n<p><strong>8.<\/strong> Now log into the Applications with the user we created and\u00a0 test.<\/p>\n<p>Please find steps by step doc <a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/reand-only-responsibilities.doc\">here<\/a>\u00a0 (word doc).<br \/>\nMohan reddy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps mentioned below are to create User with Read Only Responsibility and require fair amount of development knowledge 1. Go [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-988","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create user for Read only responsibilites in frontend apps -<\/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:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create user for Read only responsibilites in frontend apps -\" \/>\n<meta property=\"og:description\" content=\"Steps mentioned below are to create User with Read Only Responsibility and require fair amount of development knowledge 1. Go [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/\" \/>\n<meta property=\"article:published_time\" content=\"2008-12-03T02:02:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-12-03T13:23:58+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/\",\"name\":\"How to create user for Read only responsibilites in frontend apps -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\",\"datePublished\":\"2008-12-03T02:02:20+00:00\",\"dateModified\":\"2008-12-03T13:23:58+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage\",\"url\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\",\"contentUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create user for Read only responsibilites in frontend apps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create user for Read only responsibilites in frontend apps -","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:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/","og_locale":"en_US","og_type":"article","og_title":"How to create user for Read only responsibilites in frontend apps -","og_description":"Steps mentioned below are to create User with Read Only Responsibility and require fair amount of development knowledge 1. Go [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/","article_published_time":"2008-12-03T02:02:20+00:00","article_modified_time":"2008-12-03T13:23:58+00:00","og_image":[{"url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG","type":"","width":"","height":""}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/","url":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/","name":"How to create user for Read only responsibilites in frontend apps -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage"},"thumbnailUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG","datePublished":"2008-12-03T02:02:20+00:00","dateModified":"2008-12-03T13:23:58+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#primaryimage","url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG","contentUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/12\/prof_1.JPG"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/12\/02\/how-to-create-user-for-read-only-responsibilites-in-frontend-apps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"How to create user for Read only responsibilites in frontend apps"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=988"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/988\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}