How to enable regex validation for display name attribute?
I need to put some control around the display name attribute (for all objects in the system). However, when I go to administration => schema management => all attributes => display name, I see the regular expression text field under validation
tab is disabled for display name. How can I enable this? I see there is already an MPR called "Administration - Schema: Administrators can change selected attributes of schema related resource" which is granting admins to change the schema of
the display name attribute, but it does not seem to help for the above scenario. Can someone please help?
Hi,
This is true for all attributes, not just Display Name. As long as an attribute has a non null value, you will not be able to change the regular expression of that attribute at the schema level.
I don't know if nullifying display attribute for all user objects (assuming you are talking about binding between Display Name and a Person/User object) is an option. If so, its worth considering.
If that is not an option, then assuming your data entry is coming from the FIM Portal and not any other external system like a custom portal, then you are ONLY left with regular expression validation at the RCDC level.
Thanks,
Jameel Syed |
Identity & Security Strategist | [email protected] |
Simplified Identity and Access Management
Similar Messages
-
How to enable remote debugging for a session other than the current one
Hi all,
I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
The docs indicate that I should be able to do so:
dbms_debug_jdwp.connect_tcp(
host IN VARCHAR2,
port IN VARCHAR2,
session_id IN PLS_INTEGER := NULL,
session_serial IN PLS_INTEGER := NULL,
debug_role IN VARCHAR2 := NULL,
debug_role_pwd IN VARCHAR2 := NULL,
option_flags IN PLS_INTEGER := 0,
extensions_cmd_set IN PLS_INTEGER := 128);
But when I try (even as sys), I get the following:
exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
00022. 00000 - "invalid session ID; access denied"
*Cause: Either the session specified does not exist or the caller
does not have the privilege to access it.
*Action: Specify a valid session ID that you have privilege to access,
that is either you own it or you have the CHANGE_USER privilege.
I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
Regards,
K. -
How to do the validation for a checklist item
I have a check item which is a date which should not allow future date. This check list item might be 1 st item or 10th or 3rd .. depending on the selection made in the previous page. How can i do validation for this item ?
thanks for your help.Hi, I am not sure of the table though for the budget, but I have one suggestion.. I'm not sure if you already know the F1-F9 button. Firstly, just put your cursor somewhere in the screen where the budget/field is located then press F1 and F9, you will see the table name, go to t-code SE11 and type in the table you've found, then go to attributes and copy the development class, open a new session using t-code SE80(Object navigator), pull down the arrow/F4 choose the development class and press the ENTER button, you will see all the related tables, function modules, transaction, programs, etc., that is related to that development class.
Hope this helps. =) -
How to develop a report for display unused materials
how to develop a report for display unused materials? where can i find them?
Hi Phani,
I didnt get what u acually mean by unsued material. These are some sample materail types which u can find in table 'Mara' field 'Mtart'.
ABF Waste
AEM Samples
BLG BLG Empties External
BLGA BLGAEmpties Fixed assets
CH00 CH Contract Handling
COMP Prod. alloc., purchased
CONT KANBAN Container
COUP Coupons
DIEN Service
DOCU documentary batch
ERSA Spare parts
FERT Finished product(fert)
FGTR Drinks
FHMI Prod. resources/tools
FOOD Foods (excl. perishables)
FRIP Perishables
GR01 material type 01
GR02 material type 02
HALB Semi-finished product
HAWA Trading goods
HERS Manufacturer parts
HIBE Operating supplies
IBAU Maintenance assembly
INTR Intra material
KMAT Configurable material
LEER Empties
LEIH Returnable packaging
LGUT Empties (retail)
MODE Apparel (seasonal)
NLAG Non-stock material
NOF1 Nonfoods
PIPE Pipeline material
PLAN Trading goods (planned)
etc.
ex:
select * from mara where mtart = 'ABF'.
Regards,
Kiran B -
How to create a validation for the project coding mask
Hi,
Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
How can we go about this?Hi Jacquiline Bersamin,
You can use validation with the combination of the level and the coding mask.
In the validation:
Pre requisite: WBS level = 1
Validation: Prps-posid = prps-posid :1-12:
Message : Error
If required you can give the parameters for your detail error message.
Please let me know if this does not work.
Thanks
Regards
Srinivasan Desingh -
How to enable push mail for gmail in iphone 6 plus
how to enable push mail for gmail in iphone 6 plus
Tommacgr wrote:
You can setup gmail account in iphone as exchange so the trick is simple and easy and push notification work after instantly . Just follow this steps http://email.about.com/od/iphonemailtips/ss/Set_Up_Push_Gmail_in_iPhone_Mail_Ste p_by_Step_Screenshots.htm
You can only set up a Gmail account as an Exchange account if you have a paid account. Google dropped Exchange support for free accounts two years ago. That link is just a bit outdated. -
How to enable cascade view for sites(iStore) in 11i?
How to enable cascade view for sites in 11i?
Hi,
For this issue, I'm trying to involve someone familiar with this topic to further look at it.
Thanks,
Wendy
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]
Wendy Li
TechNet Community Support -
How can I put validation for JTextField when gotfocus and lostfocus
Hi,
How can I put validation for JTextField when gotfocus and lostfocus ?
Thanks
WilsonYou add a focusListener to the control you wish to monitor. In the focusLost() handler you do whatever, in the focusGained() handler you do whatever.
-
0vendor is not displaying name attribute when I maintained master data.
0vendor is not displaying name attribute when I maintained master data.
Details: I have four records in the 0vendor infoobject (sand box). I have to show these four records to the client. As i have free hands I maintained master data in the name field and finally activated master data. But when I add the name attribute to the vendor charecteristic in the query designer; it is displaying name attribute as # . Any idea how to display the names of the four vendors in the zquery.
Also do you know the transaction to copy standard query to Zquery?
Thanks in advance.Dear Les
For 0VENDOR, Set Property as Key & Text, try once again.
Yes, you can copy the standard query very well.
Open the Standard query & using SAVE AS, you can copy to "Z" queries.
Hope, now you will get some idea
Regards
Saravanan.ar -
How do I programmatically get the display name for a view object in Java?
When you define a view object, there is a display name that is configured. I would like to retrieve that in Java. Can someone tell me how?
Thanks, -KlausKlaus,
you can use the attribute definitions which you get using
getAttributeDefs
AttributeDef[] getAttributeDefs()This method is accessible via the vo.
If you need this information in a bean, you can use EL like you see if you drop a vo on a page.
Timo -
How to enable schema validation on Oc4j webservice
I have ejb3 webservice with a separate wsdl file. I would like to enable the schema validation, Someone knows, how can I do that?
I found this, but it´s not so much clear for me:
http://download.oracle.com/docs/cd/B25221_04/web.1013/b25603/wsprovider.htm
TksHi,
This is true for all attributes, not just Display Name. As long as an attribute has a non null value, you will not be able to change the regular expression of that attribute at the schema level.
I don't know if nullifying display attribute for all user objects (assuming you are talking about binding between Display Name and a Person/User object) is an option. If so, its worth considering.
If that is not an option, then assuming your data entry is coming from the FIM Portal and not any other external system like a custom portal, then you are ONLY left with regular expression validation at the RCDC level.
Thanks,
Jameel Syed |
Identity & Security Strategist | [email protected] |
Simplified Identity and Access Management -
How shall we do validation for Unique Key and Multiple Primary Key?
Hi,
I have table created From EO in which one column is checked as Unique.
How to do validation for column checked as Unique.
I know how to do validation for column checked as primary key.
Below is sample code for primary key validation
if (getRvSize() != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"RvSize", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
if (value != null)
OADBTransaction transaction = getOADBTransaction();
Object[] rvKey = {value};
EntityDefImpl rvDefinition = xxczVAGCSRVSizingEOImpl.getDefinitionObject();
xxczVAGCSRVSizingEOImpl rv =
(xxczVAGCSRVSizingEOImpl)rvDefinition.findByPrimaryKey(transaction, new Key(rvKey));
if (rv != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"RvSize", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
What changes need to be done for above code in order to do the validation for Unique Key.
I have one more Question
How shall we do the Validation for Multiple Primary Key in a table?
- Mithun1. If you just validate on one attribute like your unique key, then put your logic in the set<Your AttributeName) method
2. If you want to do the cross validation ( like validating multiple attributes) then put your logic in the validateEntrity Method
How to do that?
1. Create a Validation View object.
2. Associate your VVO to the VAM
3. Create entity expert.
4. Have method in entity expert for your validation (you would be calling AM and then VO execute the query and do the validation.
5. You would be calling the Entity experty method from your EO either setMethods or validateEntity.
I have given just the high level points.
Hope this helps.
Thanks,
RK -
How to remove mandatory field for Last Name in Personal Data Editing Screen
Hello All,
CUrrently we are using BP_ ERP5ESS1.31 SP5 & SAP_ESS 603 SP5.
All my ESS Services are Displaying fine and working from Portal.I am having the requirement like I need to make Last Name as Non-Mandatory field in Personal Data. While Editing the PD Screen, there i will find the * mark for Last Name filed, i checked through the Global Personalization Make as Mandatory is Not Personalized its showing, i think its defualt prpoerty,so i am unable make any changes from Portal w.r.t Global Personalization.
I checked in SPRO-- Personal Admin> Custmomizing User Interfaces>Change Screen Modifications, there i find the respective Module pool for those Infotypes and country Specific..
I cheked forModulePool MP000200--> P0002 and Variable Key-40(For India) P0002 - NACHIN -- LastName only OF Radio Button is Selected all other Rado buttons are not selected.
I Checked in V_T588MFPROPS view there for 0002 Infotype P0002 -- NACHN Mandatory check box is Checked all other check boxes are Unchecked.
How to make that Last Name field as Non-Mandatory in Personal Data Edit Screen, where i need to make the changes.'
Please list out the Steps..Where i need to do the configuration. And i assigned all the required ESS roles on the backend.
Thanks in Advance
AdapagHi,
I don't think supressing through Global Personalization will change the business logic. Within the Business Logic it checks for the mandatory field.
After the changes I guess you need to make the changes accordingly.
The below link might be of some help.
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
Please correct if I am wrong.
Cheers-
Pramod -
How to specify relative path for file name in java class
I have a directory structure like this.
C:\Aurora\com\optemys\aurora\validation
I have a class Test.java under the validation folder.
I have various files under the same folder i.e validation.
If I want to access the file "test.properties" in Test.java, how can I just specify "test.properties" & not "C:\Aurora\com\optemys\aurora\validation\test.properties".
I dont want to hardcode any file path into the class. How can I specify the relative file name into the class.
Thanks In Advance
Sachinswitch the name in Test.properties and use
this.getClass().getResourceAsStream(fileName) -
I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.Scanner;
public class FileRead {
public static void main(String args[]) {
Scanner scan = null;
File file = new File("Results.txt");
String number;
try {
scan = new Scanner(file);
while (scan.hasNext()){
number = scan.next();
System.out.println(number);}
catch (FileNotFoundException ex1){
System.out.println("No such file");
catch (IllegalStateException ex2){
System.out.println("Did you close the read by mistake");
catch (InputMismatchException ex){
System.out.println("File structure incorrect");
finally{
scan.close();}
}Any hints would be greatly appreciated. Thank you in advanceI have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
This code compiles but at run time it comes up with this error
run-single:
java.lang.NoClassDefFoundError: NamedFile
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
import java.util.Scanner;
import java.io.*;
class NamedFileInput
public static void main (String[] args) throws IOException
int num, square;
// this Scanner is used to read what the user enters
Scanner user = new Scanner( System.in );
String fileName;
System.out.print("File Name: ");
fileName = user.nextLine().trim();
File file = new File( fileName ); // create a File object
// this Scanner is used to read from the file
Scanner scan = new Scanner( file );
while( scan.hasNextInt() ) // is there more data to process?
num = scan.nextInt();
square = num * num ;
System.out.println("The square of " + num + " is " + square);
}his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!!
Maybe you are looking for
-
Hiding a customized tab (from header and item) in ME21N, ME22N and ME23N
Hi SAP gurus, I need to make invisible a customized tab in Po creation(me21n), change(me22n) and display(me23n) in enjoySAP transaction for a particulat Doucument type. Please let me know the possibility and the solution to implement. Thanks, Kishore
-
Cannot download iTunes 10.6.1 on Windows 7 64 bit
I am trying to download iTunes 10.6.1 onto my Windows 7 64 bit PC and get the message that the installer has insufficient privileges to access this directory: C\ Program Data\Microsoft Windows\Start Menu\Programs\iTunes. The installation cannot conti
-
CX_SY_OPEN_SQL_DB:ORA-00060: deadlock detected
Hi All, I am runtime error DBIF_RSQL_SQL_ERROR abd Exception CX_SY_OPEN_SQL_DB in the following code. I am pasting Error Analysis from ST22. An exception occurred. This exception is dealt with in more detail below . The exception, which is assigned t
-
Resource Ref's settings of a CMP bean in SAS PE 8.2 - Deploytool
Dear all, In the deploytool of SAS8.2, in the [Resource Ref's] tab of a CMP bean do I need to set anything here to enable the CMP bean to connect to the database? I already have a JDBC source registered in the server and it is called jdbc/mydatasourc
-
Error while testing DB Adapter Example
Hi All, I have created a sample DB Adapter CreditCardValidation Example and deployed successfully When I clicked on TestWebService buuton on EM, its giving the following error. <Jul 2, 2010 6:17:55 PM IST> <Warning> <oracle.integration.platform.block