Edit or display field based on authentication
I am using Apex 4.1
I have a form that has following fields :
Name (Display only OR Text - Right now I have set it as Text)
Location (List)
Date (Date Picker)
My problem is..I have a few users who have the Admin Priv.(authentication scheme already set up for it)
These users should be able to edit and enter Names while rest of users should see their name displayed(done by APP USER variable already)
My query is how can I make the Name field as Display only(for regular users) and Editable Text(for Admins) using the authentication set up.
How can I achieve this?
Any clues and advise will be appreciated.
Thanks.
Hi,
>
I did give this a try but this uses Apex SSO authentication or no validation at all.
>
You have to use the condition that tells you whether the logged in user is Admin or not.
>
I have set up few users with Admin privilege for the application and would like only them to be able to edit the filed and enter data while rest of them should only see their own data appear.
>
This seems to be rather different from your requirement in OP.
Are you wanting to filter rows for non-admin users?
>
I need to the application to use the set up that I have specified.
Is there any way I can set the read-only for my set up??
Or any other alternates ??
>
If your objective is to filter rows by logged in user for non-admin users then depending on your db edition, you can use
a. Virtual Private Database
b. Mimic VPD through the use of APP_USER or any other means in the Queries.
Cheers,
Similar Messages
-
Need to display fields based on first filed selection
Hi All
I am useing Apex 4.1 on 11gr2
I am building an application that needs to have some fields completed based on the selection of the first file that is a LOV pick list.
I am using the display condition for the edit of existing records, but now need to be able to create a new record.
I thought I would have the screen redraw but that also resets the first field.
Any help would be great.
Edited by: merph on Oct 12, 2011 3:28 PM
Sorry guys I found the answer,, getting to like apex ;-)
Edited by: merph on Oct 12, 2011 3:57 PMSilly me it's right there
-
Display fields based on radiobutton in ALV
hi friends,
I have two radio buttons. Depending upon the radiobutton that is checked only a certain fields should be displayed in the ALVoutput. Could any one help me to solve this issue.
Thanks and regards,
RamineniHi,
Better to create two internale tables n if check box is checked then display data from first internal table n if not checked then display data from second internal table.
Regards,
Prashant -
How to display F4 values in one field based on other field selection
Hi All,
How to hide a UI element (i.e Link to action) highlited for Normal User and display the same to super user.
Component Name : /SAPSRM/WDC_DODC_SC_GAF_C
2.Can i know how to display the entries in supplier field based on Product category selection.
Right now all the entries are getting displayed in the supplier field.
I want to display only entries based on Product category.
Search Help Name : BBP_BUPA_CLL_PARTNER
Component Name : /SAPSRM/WDC_DODC_SC_I_LIM
How to enhance the web dynpro component with the filtered values.
Regards,
Krish.Hi Ashvin,
Thanks for the document. In the search help there is a standard FM which is getting executed.
Can i enhance that FM or should i copy and edit.
BBP_F4IF_SHLP_EXIT_CLL_PARTNER
If i creata a Z FM and make changes how to pass that values to my standard Component View UI Element.
If not then suggest me some alternative.
Regards,
Krish -
Item field to non-editable mode(display mode) in Purchase Order(ME22n).
Hi SDN,
Based on the Comany code i need to modify the item level fields like <b>Item, Account Assignment, Material</b> to non-editable mode(display mode) in Purchase Order(ME22n).
So i modifed in the method MODIFY_SCREEN_TC_LINE of class CL_TABLE_VIEW_MM and set the value L_FIELD_STATUS = * for the screen filed MEPO1211-EBELP. When i execute, the whole column changed to display mode and the empty rows filled with 0(zero). But i want only grey mode for the line items that are present for that PO but not for the whole column. So can any one guide me to do so. I am using 4.6c.
Thanks in Advance
Regards
BashaHi Ramesh,
Normally you can change the currency field, after entering information in Data base's table, go to Detail's table and change the rate as you want, then directly choose your PO number.
so the system accept the rate entered aven though the PO had another rate.
Regards. -
Problem with a Display Only field based on a dynamic LOV
I have a field/item which is based on a dynamic LOV:
select DESCRIPTION display_value, STATUSID return_value
from CTCXFRREQS_STATUS_LOV
order by 1
...and I need it to be display-only on the page. However, if I make it a display-only field, the return value is displayed, not the display value. If I change it to be a select list field, the display value is shown, as I expect and need.
The field was based on a static LOV before, and it worked perfectly then.
Has anyone seen this before, and have any suggestions on how to work around it?Hi,
In edit item
Display As: Display Only
Save Session State: Yes
Based On: Display Value of List of Values
Named LOV: YOUR_LOV
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Display text fields based on value
I have a form that has 7 text fields that are to be filled out. I have an ajax process that auto-populates those 7 fields with values based off of the return value of a pop-up dynamic LOV. Is there any way that I can hide the last 5 fields based on a certain value of one of the text fields?
For example, my fields are:
P1_Badge (LOV query)
P1_First_Name
P1_Last_Name
P1_Title
P1_Phone
P1_Room_No
P1_Email
P1_Fax
The LOV returns a Badge number and populates the rest of the values. But if the Last_Name = 'Smith' then I only want to display Badge, First_Name, and Last_Name and I want to hide the rest of the fields or make them disabled for editing.
Is this possible without any kind of page submit?
Thanks,
DirkHello,
Take a look at this page http://apex.oracle.com/pls/otn/f?p=11933:39 it has examples of what you want.
Regards,
Carl
blog : http://carlback.blogspot.com/
apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5 -
How to display f4 help for a field based on value of another field
Hello All,
I have 4 fields : Sales Org : VBAK-VKORG, Distrib Channel : RV50A-VTWEG, Div : RV50A-SPART, Sold-to-party : KUAGV-KUNNR.
The second field depends on the first one, the third on the second one and the fourth on the first field.
However, when each of the second third and fourth fields' f4 help is displayed, the values are independent of the previous fields. How do I set the f4 help to display values based on the respective fields?
Regards,
MithunPlease be sure that you are searching the forums before posting. This exact same question was asked just yesterday:
F4 help to input field
In particular study the section and the linked help document for ddic search helps export/importing parameters and the requirements for DDic Structure/table usage for the parameter mapping. -
Hello,
I followed the following step by step guide for SAML-based claims authentication with ADFS:
http://technet.microsoft.com/en-us/library/hh305235.aspx
The authentication works well; however, Sharepoint shows the users’ email everywhere including at the top right suite-bar. I rather to see users’ display name instead of email. Is there any way to have SharePoint shows user’s display name instead of email
address when the primary SAML claim is email address?
Thank you,You need to be able to import the identity store into the UPA. See http://sharepointobservations.wordpress.com/2013/08/06/sharepoint-2013-configure-user-profile-service-for-adfs-provider/ for
a good step-by-step on how this is configured.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Import Manager and Display Fields
I've been using SRM-MDM 3.0 for a couple of months and 1 fundamental MDM design has always bothered me and I was hoping to get some resolve on this.
The purpose of Display Field is 2 folds:
1. Display the field in the Catalog Search UI for a lookup table: i.e. if both Supplier Name and ID are Display Fields, then in the Search UI, both fields are displayed to the end-user. If only Supplier ID was the display field, then in the UI only the ID is displayed.
- From a usability pov, tables such as Supplier and Product Group should have the name or description fields displayed in the Search UI as the numeric values are meaningless to the end-users.
2. Display field ALSO affect what is the key used to import data into a table. So if Supplier ID is the display field for Supplier table, then in Import Manager, the Supplier ID values are displayed and must be mapped to the source values.
- From an importing pov, mapping values should always be an index-like field, such as Supplier ID or Product Group ID, or ISO, and usually never the actual name or description field.
But SAP has tied the two together. So in order to display the name/description to the end-user, we must enable the name/description field as a Display Field. But we also want to map based on the index/ID field, so we also enable the index/ID field as a Display Field. Now in Import Manager, we have two Display Fields for a table (i.e. Supplier ID and Supplier Name for Supplier table) and I've noticed some issues with this:
1. You import file must have BOTH values (index/ID and the name/description fields) in the source, in order to Automap. If your source file only has 1 field, like in MECCM when extracting ECC contract, ONLY the Supplier ID, or Category ID is extracted, Automap is not possible. What is funny is that standard SAP extract program only extracts the ID fields, BUT the standard SAP repository has the name/description fields as the Display Field. Automap is a must for tables like Product Group where hundreds of lines can make manual mapping a pain.
2. I also noticed you cannot Add values to a table that has 2 Display Fields, you can only map to existing values. The Add button is grayed out.
With all that said, when you're replication ECC Contract Data using MECCM, for tables like Supplier and Product Group, what fields should be set as Display Fields, and if there are multiple Display Fields, what special setting needs to be done in Import Manager to enable automapping? Even standard SAP Import Map (_MDMContractDataTransmission_ProductID) throws errors when multiple fields are set as Display Fields.
I'm not familiar with the partitioning function, and I've seen PDF's about it, but don't really see how it could be helpful. I've also read someone suggesting changing the DF's before import, which I think is unacceptable, as this requires unloading/loading repositories everytime an import happens.
Thanks for reading my paragraph and any input is greatly appreciated.
Edited by: Derek Xu on Apr 30, 2009 6:50 PMHi Derek,
Thanks for writing your thoughts. I would like to provide some information on one of your points where in you have mentioned that :
You import file must have BOTH values (index/ID and the name/description fields) in the source, in order to Automap. If your source file only has 1 field, like in MECCM when extracting ECC contract, ONLY the Supplier ID, or Category ID is extracted, Automap is not possible.
I completely agree that if you have 2 fields in MDM repository and you are only importing only one of them, then you cannot use the Automap feature of Import Manager. So in your case, the description is not getting importing, so you cannot use Automap in that case.
I had a very similar requirement in one of my project and we went with creation of a Import Value template. We created a template with all the possible values for all the look up tables in that and mapped it once in the Map. Hence, next time, the Map was used to automatically Map the source and Destination values for all the look up tables.
SAP-MDM Automatic Import Requirement u2013 Creation of a Value Mapping Template:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ad0cff-19ef-2b10-54b7-d4c7eb4390dd
Please read the above article and hope its useful. You can go for this approach in your case if suitable.
I have mentioned examples of descriptions and their respective fields in the article.
Hope it helps.
Thanks and Regards
Nitin jain -
Change value of another field based on the value of selectOneRadio
Hello
I need to display one of two city fields based on the value of a radio group. If the value of the radio group is "Yes", then display the non mandatory city field, if the value is "No", then display mandatory city field. Please can someone help me? The code is below
<af:subform id="contactForm3" default="true">
<af:panelForm binding="#{processScope.backing_regDetails.contactPanel3}">
<af:selectOneRadio binding="#{processScope.backing_regDetails.radio1}"
labelAndAccessKey="#{MatrixResource['ContactDetails.inBoroughQuestion']}"
layout="horizontal"
valuePassThru="true"
required="true"
onchange="javascript.refresh;" >
<f:selectItems value="#{processScope.backing_regDetails.items}" />
</af:selectOneRadio>
<af:inputText onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.SAO']}"
binding="#{processScope.backing_regDetails.houseNameText}"
maximumLength="240"/>
<af:inputText required="true"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
maximumLength="240"
label="#{MatrixCommon['Label.PAO']}"
binding="#{processScope.backing_regDetails.numberStreetText}"/>
<af:inputText onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
maximumLength="240"
labelAndAccessKey="#{MatrixCommon['Label.District']}"
binding="#{processScope.backing_regDetails.districtText}"/>
<af:inputText maximumLength="60"
rendered="#{!backing_regDetails.radio1}"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.TownCity']}"
required="true"
binding="#{processScope.backing_regDetails.cityText}"/>
<af:inputText maximumLength="60"
rendered="#{backing_regDetails.radio1}"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.TownCity']}"
required="false"
binding="#{processScope.backing_regDetails.cityText}"/>
<af:inputText maximumLength="60"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value='0';"
labelAndAccessKey="#{MatrixCommon['Label.County']}"
binding="#{processScope.backing_regDetails.countyText}"/>
<af:inputText columns="7"
onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
labelAndAccessKey="#{MatrixCommon['Label.Postcode']}"
binding="#{processScope.backing_regDetails.postcodeText}"/>
<af:selectOneChoice onchange="javascript:document.forms[0].elements['contactForm3:locationId'].value=0;"
binding="#{processScope.backing_regDetails.countrySelect}"
value="#{processScope.backing_regDetails.enteredAddress.countryId}"
labelAndAccessKey="#{MatrixCommon['Label.Country']}">
<f:selectItems value="#{backing_regComponents.countryChoiceList}"/>
</af:selectOneChoice>
<af:inputHidden value="#{processScope.backing_regDetails.enteredAddress.locationId}"
binding="#{processScope.backing_regDetails.locationIdHidden}"
id="locationId"/>
</af:panelForm>
</af:subform>Edited by: aademola on Nov 13, 2008 7:35 AM
Edited by: aademola on Nov 13, 2008 7:42 AMHi,
you should be able to apply this example to your 10.1.3 project
see 4.3.2 of http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_lifecycle.htm#CIAHCFJF
Frank -
Update a text field based on a SelectOneChoice field
Hi,
I have a set of Create, Confirm and Thankyou screens. These screens are bound to a global view object. The create screen has a SelectOneChoice element which allows the user to pick an employee. When the selection is made, I need to display the employee's department in a read only text field below the dropdown. The Employees list(SelectOneChoice) is associated to the read only view object and this view object also has the employee's department information. Im dont know how to set the department name in the text field and refresh the screen. Any help is appreciated. Thank You.Frank, thanks for you time. Please see my answers below.
Hi,
can you help me creating a reproducable testcase
based on the HR schema where we have a Departments
and Employees tables. To understand your usecase I
have some questions:
Im not too familiar with HR Schema.
>
First of all however, what is a "global view object",
and is it safe to assume you are using ADF Business
Components?
Its the "Globals View Object" as described in the SRDemo for creating a new Service Request and yes I am using ADF Business Components.
>
Which version of Oracle JDeveloper do you use ?
10.1.3
>
The usecase I understand is that you have a
selectOneChoiceList that whenever you select a new
name should update a read-only text field with the
department name. Is this correct ? Or is there more
in it ?
Heres the complete description. There are 4 fields on the screen
1. Program Name (text input field, - required field)
2. Program Category (SelectOneChoice field - required field)
3. Employee Name (SelectOneChoice field - required field)
4. Employee Department (Text output field - based on 3 above)
What you have described above is working for me now, but everytime I select a value for 3, it does the required fields check and gives a message like "1 & 2 are required and a value must be entered", this validation should only occur when my continue button is clicked.
>
The department name should be displayed only (read
only), or is it also bound to what you call "global
view"?
Yes its read only but I need to bind to the Globals view as I need to display it in the confirmation screen.
>
Also, just to be sure, is the department name part of
the VO or is it the departmentId?
The screen is bound to the Globals View, the selectOneChoice values are displayed from another view(EmployeeList view) which has the department name.
>
Frank -
Can we edit Gross Price field in Sales Order
Hi experts,
According Help document (help - under Sales A/R/Sales Order-Sales document content tab ) as follows, userwe should be able to edit gross price field in Sales order
Enter in this field the unit price including tax. SAP Business One calculates automatically the unit price before tax and the tax amount, based on the tax code in the row. After pressing the TAB key, the Unit Price field and the Tax/Unit field are updated accordingly.
The tax amount is calculated as follows:
*Gross Price / (1 + Tax %) * Tax % = Tax Amount*
But when I set up in form setting visible and active for Gross Price, though I AM NOT ABLE TO EDIT GROSS PRICE FIELD
Is it bug in SAP ? I
BR
Samir GandhiHi Samir Gandhi,
You may check SAP Note Number: 1060666 to see if it applies to you.
Thanks,
Gordon -
What is tthe Best practice for Variant List, Add, Edit and Display Forms?
Requirement:
I have single list. The list has a large number of columns and a large number of items (lets say 20,000).
I want to show users a different view of the list based on clicking on a different left-hand navigation option.
Lets say I have four types of users: Sales, Manufacturing, Shipping and Finance. I would like to have four options in the left-hand navigation.
All of them would be pointing at the same list, BUT, I want each of them to have a customer list form. The only difference between the custom list forms would be:
Each would have its own set of views, and hence its own default view.
Each would have its own New, Edit and Display Forms. The only difference between the forms in one variant list and another would be: The order of the columns and which columns are modifiable.
I would like to achieve this in SharePoint Designer in such a way that the "users" could still add/modify views and could even modify the forms from the SharePoint Menu. BTW, I don't want to use InfoPath for obvious reasons.
What is the best approach to meeting this requirement? I have at least 20 sites and 70 lists overall that need variant forms made.
HELP!!
Savin
BTW We are using SharePoint 2013 and I selected the wrong forum *sigh*. But I think its probably the same answer.
Cheers, Savin SmithHi,
I understand that you want to have different forms based on different view.
Per my knowledge, there are no out of box method to achieve it.
As a workaround, you can add the JavaScript code to the different view page.
For example, to open different new form based on different view, you can get the windows.location, and then judge the view, then change the onclick event of the "New item" button.
For more information, you can refer to:
http://css-tricks.com/snippets/javascript/get-url-and-url-parts-in-javascript/
http://samsharepoint.wordpress.com/2013/05/01/change-the-default-sharepoint-ok-and-cancel-button/
Thanks,
Linda
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 -
Editing a text field in Acrobat pro 9.4
When I go to the editing mode inside of actobat pro, all that I can edit are data fields, not static text. How do I select the static text in my form/document so that I can change it? The data fields are all fine as is and I do not need to edit them. I just need to edit the static text in the document. How can this be done?
If I use lifecycle designer, the text does not show up formatted properly and it is impossible to edit because text is too large and some of text fields are on top of each other. In lifecycle designer, I cannot figure out how to select a text area. It has the boxes outlined but it is imposible to change the box size since there is apparently no select tool. Every time I try, I end up editing a box that is on top of the box that I am trying to edit. Any suggestions?Thanks George. I did not create the form. A previous developer created it. So I am not entirely sure how they created it originally and all we have is the .pdf to work with.
Just some background. The .pdf is static and is on our web server. The web server dynamically creates an .fdf file with data for the form that the web user entered on the web site. The web user can open this .fdf on the web page as it has a link to the corresponding generic .pdf file. It puts the data in the .pdf and is displayed on the web so the user can print the document (rental contract).
Maybe you are looking for
-
I had my hard drive replaced and I cant get my email to work on the new hard drive. I have the ! in the triangle next to the inbox. I tried "take all accounts online" and it ddidnt work. The email account is working on my iphone and ipad, and my m
-
ICal crash when viewing meeting notice
When I view a meeting notice sent to me by someone else and then press done or try to copy a section of the notice Ical just closes. Request for report comes up and I send to Apple. Any one else had ths proble, Its frustrating if you need to get web
-
So in the last couple of days Aperture has become unusable. I cannot view anything in the main window unless it is zoomed to a percentage. The zoom viewer which is supposed to make the image fill the screen wont show anything. Photos flash and then d
-
Is it posible by metadata navegator scheduling and stop scenarios?
is it posible by metadata navegator setup scheduling from a scenario and stop a scenario from a user ? thanks, Daniel Daniele
-
I need to upgrade an adobe photoshop cs4 extended package brought through a company. Is this possible?