Restrict execute_query in Forms using Personalization
Hi Gurus,
I have requirement of restricting execute_query in Standard Form using Form Personalization.
Detail Requirement:
In Standard attachment form I have requirement to show only the attachment files which are Web Page type. That means, when User open the attachment form he can only see the attachment which are type of Web Page.
Please help.
DB adpater wraps the parameter by ' (apostrophe), so using IN clause it becomes '1,2,3,4,5.........n' and the query returns nothing.
You need to use below query in DB Adpater
select attributes,attributes2 from table name where partnumber in (WITH VALUE_LIST AS
(SELECT ? val FROM dual)
SELECT SUBSTR(val, (decode(LEVEL, 1, 0, instr(val, ',', 1, LEVEL -1)) + 1), (decode(instr(val, ',', 1, LEVEL) -1, -1, LENGTH(val), instr(val, ',', 1, LEVEL) -1)) -(decode(LEVEL, 1, 0, instr(val, ',', 1, LEVEL -1)) + 1) + 1) a
FROM VALUE_LIST CONNECT BY LEVEL <=
(SELECT(LENGTH(val) -LENGTH(REPLACE(val, ',', NULL)))
FROM VALUE_LIST) + 1)
Value of <partnumber> tag can be mapped to DB Adapter Inputvariable.
If you create a very big value list for IN query (greater than 4000 characters) you will get ORA-01704: string literal too long error. In that case you need to break value list and invoke this query multiple times.
Thanks
Ravdeep
Similar Messages
-
Disable 'SAVE' button on 'FILE' menu on some forms using personalization
Hi there,
I need to disable 'SAVE' button on 'FILE' menu on some forms using personalization. Please let me know if you know how to do this. Currently we have done this through custom.pll and we are trying to phase out custom.pll. Any help is appreciated.
thanks
Sudeepwhether i know u cannot disable SAVE toolbar through Personalization. You do it with custom.pll.
CHECK FOLLOWING LINK
Disable Save item from Contrl Menu
Pradhyumn Sharma -
How to call a form using personalization
Hi All,
We have a requirement in which we need to call a standard form from another standard form.
Can we achive this using form personalization?
If yes, please guide us on how?
Thanks,Aks your quetsion in an eBusiness-suite related forum, maybe here OA Framework
-
How can i hide a column using personalization?
Hi,
Please help me how can i hide a one column in oracle forms using personalization?
ThanksHi,
When you login to My Oracle Support website, enter "458786.1" or "468657.1" in the search box, and you should get the documents.
Or, use the direct links below to access those documents.
How To Do Forms Personalization (Doc ID 468657.1)
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=468657.1
RCVRCERC: When Using Personalization to Remove a Column Receive Error FRM-41017: Cannot set UPDATE ALLOWED (Doc ID 458786.1)
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=458786.1
Regards,
Hussein -
Phone number formatting using personalization
Hi,
Is there any way that i can format the phone number in forms using personalization so that the user should only enter the phone number in 999-999-9999(only numbers) format or else it should throw an exception.
Thanks in advance.
PKAre you talking about the D2K forms or self service pages?
--Shiv -
Query about Calling One Form from Another using Personalization
Hi All,
I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
How can I do it ?
Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
Please help !
Thanks
ShankarHi Shankar,
Please refer my article on metalink
Zoom to AR Transactions and AR Receipts Form from Collections Form using Forms Personalization - Doc ID: 430643.1
This article explains how to open the AR transactions form from another form. When it opens the form it automatically queries for the Invoice number of the calling form. You should be able to use this logic for your requirement.
Hope this helps.
Thanks,
Anil -
Call Another Form using Forms Personalization
Hi All,
I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
How can I do it ?
Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
Please help !
Thanks
ShankarDuplicate thread (please post only once).
calling Custom Form from Another Form
calling Custom Form from Another Form
Thanks,
Hussein -
Creating a new field in a standard form using Forms Personalization
Gurus,
Has anyone done this? If so, could you please provide steps involved or point me to a good tutorial
I need to add user name to a standard transaction-based form. I want to make sure this can be done through personalization.
Thanks,
Scott
P.S. I give points for helpful or correct answers
Edited by: sreese on Oct 17, 2011 1:24 PMPl post details of OS, database and EBS versions.
I do not believe you can add new fields to seeded forms using forms personalization.
MOS Doc 420518.1 - Limitations of Forms Personalization
BTW, points are meaningless :-)
HTH
Srini -
EIT Multiple Rows in Self Service using Personalization
The EIT is set up in core HRMS as multiple rows descriptive flexfield having segments each with value set and default values.
Multiple rows meaning, user can enter multiple records as extra information as compared to DFF which only allow one record..
The requirement is to attach this EIT in iRecruitment (self service, HTML) using personalization.
My Question ?
1. Can I add this EIT as flex item ?
2. do I have to create EO, VO and AM for this EIT table or this is provided by oracle when EIT is created ?
3. is the EIT displayed as table in page with add, update delete button.
4. is there any document which describes steps to add EIT with multiple rows to self service apps.
Help Appreciated
ThanksI am still facing issue in displaying the restricted record in self service.
Setup tried:
1. My original value set has the total set of values (no validation).
2. My new value set is a wrapper over the original and uses a Table validation with a WHERE condition like:
WHERE flex_value_set_id = <original value set id>
AND
(FND_PROFILE.VALUE('RESP_ID') = <MSS resp id> and flex_value
<> "<restricted values>")
or
(FND_PROFILE.VALUE('RESP_ID')= <PUI> and 1=1)
Result:
SS lov shows only filtered values, I cannot select it in new record.
But I get error when the already created record gets displayed as it seems to validate against new value set.
error:
ID <restricted value> for the flexfield segment SEGMENT1 does not exist in the value set NEW VALUE SET.
Is there any possibility to add a table filter in MSS to restrict the record that is displayed in the EIT table in SS. I tried a lot but the filter do not bring the table columns for adding the filter clause.
Or is there a way that I can attach different value set for PUI through Forms Personalization?
Thanks for your suggestions. -
I've created a PDF form using Adobe acrobat. I created the forms from a PDF that I made using pages and word on Mac running Mountain lion. How do I allow the user of the form to insert JPEG files when filling out the form and how do I allow the user to add more fields or groups of fields as needed.
The type of form yo're describing is possible if you create it in LiveCycle Designer. It may also be possible in Acrobat, but there are certain restrictions. The type of form is known as a dynamic XFA form. LiveCycle Designer is not available on the Mac, so you'd have to install the software on a Windows machine and learn how to create this type of form. The LiveCycle Designer forum here is a good resource for getting more help.
Reader 11 now supports creating new pages using templates with a form that you create in Acrobat (Acroform). This requires some JavaScript programming. It also adds support for using a button to display a page from a PDF, which can be an image or anything else a PDF can be. So the user would click a button, be prompted to import a page from an existing PDF, and the button (or a different button) displays it as its icon. This would require the user to convert the image to PDF first, which is relatively easy these days (e.g., using Preview on the Mac, or Word on Mac/Windows). This too involves a bit of JavaScript programming, but it's very simple and straightforward. -
How to make the payroll field in the assignment screen mandatory using personalization ?
I am trying to make the payroll field required in the assignment screen using personalization , but it's not working, can anybody assist me ?
Thanks.Hi,
Navigate to Assignment Screen. Help > Diagnostic > Custom Code > Personalize
Create a new item : say "Mandatory Payroll Name"
Condition:
Trigger Event:WHEN-NEW-BLOCK-INSTANCE
Trigger Object: ASSGT
Actions:
Object type: Item
Target Object: ASSGT.PAYROLL_NAME
Property Name: REQUIRED
Value: TRUE
Apply / Save.
Exit form and re-enter Assignment Screen to check.
HTH.
Regards,
Rajen. -
How to restrict issue the form through VOFM routine
Hi Experts,
I have developed form using adobe form, I need to issue the output only one time, once the output issued again the output should not issue.
I need to control this logic through VOFM routine...how to restrict ?
Thanks in advance.Srinath,
Use the below option.
VOFM->REQUIREMENTS->O?P Control.
Create a new routine.
In the routine, check the table NAST using application, object key and message type. If you find an entry, set the sy-subrc value to 4 else set the subrc value to 0.
Let me know if this helps.
Thanks,
Vikram.M -
How to have Infopath form use Sharepoint Domain credentials
I have built a for in infopath which is published to a library on Sharepoint 2013. This form is filled out by certain users and when its completed it gets moved into a subfolder. We then provide a link to a client who has a domain account with restricted
access to just this folder of sharepoint. They can view this form and any others we put in this folder.
The form has 2 views. The first is the view our staff sees when filling it out. There are some hidden sections in there for us that the client does not need to see. So there is a second view which is read only and I have taken away the option for them to
switch views so they can't go back to our internal view.
What I would like to happen is that the form can somehow detect by the domain login info from sharepoint, what user is opening the form and switch views based on that. What I can't figure out how to do it to have the form pull domain credentials from the
sharepoint site and use those a a variable when opening the form to set the view.
I believe I am on the right path what trying to setup a data connection but I am just missing something. I found this great guide http://www.pointgowin.com/seethepoint/Lists/Posts/Post.aspx?ID=55 but now when I open the form I get a warning stating "You
do not have permissions to access a SharePoint list that contains data required for this form to function correctly." Also I still can't seem to pull the username.
Can someone help me out? Point me in the right direction? Thanks.Hi,
According to your post, my understanding is that you wanted to have Infopath form use Sharepoint Domain credentials.
When you use Claims-based authentication, your user name is prefaced by “0#.w|”. So for example, if your user name is SuesDomain\jdoe then your Claims-based user token will be, without
the quotes: “0#.w|SuesDomain\jdoe”
InfoPath can’t handle that, or more specifically, the UserProfile.asmx method GetUserProfileByName method can’t handle that. InfoPath tries to pass in your Claims-based user token instead
of your domain\User Name.
You have an authentication problem where the currently logged in user is not allowed to hit the web service, so you get an Access Denied 401 authentication error
To resolve the issue, you can refer to the great blog:
SharePoint 2013, InfoPath and Claims – GetUserProfileByName
More information:
InfoPath over Claims Authentication (SharePoint 2010 & 2013)
SharePoint 2013 Business Connectivity Services Search and Profile PageMetroStar Systems Blog
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Is possible to save a form using Acrobat Reader? How to?
Hi all,
I designed a static pdf form using Livecycle. I want to send it to the form recipients, and I need they return me the pdf form filled. I can do this without problems on Adobe Acrobat Pro, but my mates that are using Adobe Reader can't save the filled form. Adobe Reader offers them to save a blank copy of the form or print it filled. But this isn't what I need. I need to have x copies of the form (of the pdf file) filled by my x recipients. Is there any option in Livecycle to allow saving the filled form on Acrobat Reader?
Thanks in advance,
Enrique Llorens
P.D. Apologies for my awful english...Hi Enrique,
In order for users with Reader to be able to save your form, it has to be 'Reader Enabled' before you send it out.
You have three choices:
Reader enable the form with LC Reader Extensions ES2, which is a server based component of the enterprise suite. This is intended for processing large volumes of forms/data and is an additional cost per form.
Reader enable the form using Acrobat Standard v9 (or Acrobat Pro v7 to v8). This has license restrictions to less than 500 users per form.
Instead of users with Reader sending the form back as a PDF. You could set up a 'Submit as XML' button. This does not require the users with Reader to Save the form.
I have a summary of features (functions that are available/restricted) depending on whether the form is enabled and how it was enabled on our blog: http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
When you open the sample at the end of the post, if you hover over the question marks, you will see screenshots of the enabling process.
Hope that helps,
Niall -
Security restrictions on offline form
In my application, I have a form with a submit button of control type 'regular'. It can be downloaded on local hard disk filled and saved. But for the same form, I changed the control type of submit button to 'submit' and ran the application again. Now when I download the form and fill it, I cant save any of the form data. I see that the security restrictions on the form now have changed. Any idea if I can set these security restrictions so that I can still save the form data?
Marlon,
We also have similar requirement. So we logged an SR with Oracle. We got response as
=============================================================================================================================
No but there is an enhancement request
OER does not provide the ability to enforce assignment of specific asset tabs to specific users/roles.
True need to file enhancement request
Oracle® Fusion Middleware Configuration Guide for Oracle Enterprise Repository
11g Release 1 (11.1.1)
Part Number E16580-04
http://docs.oracle.com/cd/E14571_01/doc.1111/e16580/rbac.htm
10309159 - TAB LEVEL SECURITY - AUTHORISATION
Use Case
If I give a user with Tester Role and a user with Lead Developer Role
approval capability (ie. Tester Role should only approve "Testing" tab and
Lead Developer Role should only approve "Technical" tab). They should only
be able to see the other tabs but not approve anything. e.g. the Lead
developer should only approve the "Technical" tab.
================================================================================================================================
Maybe you are looking for
-
How to check open deliveries and open sales order using means of transport
Hi, I want to check open sales order and open delivries which is having "ABXP" means of transport type .Can anybody suggest me to check in which table or any transa
-
My itunes player will not start??
hello ??
-
App Startup problem in WL8.1
We are currently running our application on WL7.04 and are having a classloader problem deploying this same application on WL8.1. After compiling our application using JDK141_03 into an EAR, and setting up our domain, our attempt to deploy the EAR ha
-
Files size limit for vimeo upload
Hi, There is a warning sign that says ''publishing movies bigger than 5 GB may fail''. Why is that ? I have a vimeo pro account (I can dowload up to 20 GB per week. Does vimeo have file size limits for uploads ?
-
Looking for a Mapping/Route Planning program for my Macbook Pro...
I use to use "Streets & Trips" on my PC. I am at a loss what is a good program for Apple. Would appreciate any guidance. Thanks.