Child political access data Table OIM 11 g r2
Hello gurus,
I'm trying to achieve the following objectives:
1 create access using API strategy
2 set the parent are data using API
3. set the child form data using API
Condition is that: whenever a right is added to the list of choices, it should be automatically defined as law in the access policy child data.
Aprd of AccessPolicyResourceData = new AccessPolicyResourceData (provObjKey,provObjName, formDefKey, formName, "P");
String tableKey = findChildFormKey();
Long tableKey2 = Long.parseLong (tableKey);
HashMap childTableMap = new HashMap();
childTableMap.put ("UD_ORG_CHIL_ADMIN_ENTL", entName);
PolicyChildTableRecord pChildTableData = aprd.addChildTableRecord (findChildFormKey (), childFormName, 'Add', childTableMap);
aprd.setFormData (childTableMap);
After executing this code, I checked the access - data of the child form policy are still empty - they are only visible when I click on the search button. I wanted what they added as an entry in the access policy.
Thank you
VAMSi.
I had an error in my code. The end a few lines should be, and I have bolded the changes. It was assign keys SDK incorrectly so that they would show as not being set correctly. Try these:
Aprd of AccessPolicyResourceData = new AccessPolicyResourceData (provObjKey, provObjName, childFormDefKey, formName, "P");
HashMap childTableMap = new HashMap();
childTableMap.put(childColumnName,"0");
aprd.addChildTableRecord (String.valueOf (childFormDefKey), childFormName, 'Add', childTableMap);
accessIntf.updateAllDataSpecifiedForObject (polKey, provObjKey, formDefKey, aprd);
-Kevin
Tags: Fusion Middleware
Similar Questions
-
data tables store information of groups and users?
Hi all
I want to export all the information of users and groups on the Administration of BI tool. only I can copy them one by one. are there other methods?
who knows what data tables store information of groups and users?
Thank you
Dan.Hi dan,.
As you can not access the link which is very informative. Never I've implemented it but john's suggestion, it should work
Courtesy John: -.
OBIEE get all RPD users
I had to get all the users a repository very large because they where to implement a new security model. Wrote a small script to make life easier:' Read_Users.VBS
"John Minkjan
"http:// http://www.obiee101.blogspot.com/
' Get all the users from a repository
1: do an export the PRD UDML using nqgenudml.exe
2: change the location/name of file in this script
3: run the script in the cscript Read_Users.VBS command line > users.txt
Set objFSO = CreateObject ("Scripting.FileSystemObject")"this point your EXPORTSet UDML
objFile = objFSO.OpenTextFile ("E:\names.txt", ForReading)Const ForReading = 1
Dim arrFileLines()
Dim strRLinedim strTemp1dim strTemp2I have = 0
Up to objFile.AtEndOfStream
strRline = objFile.ReadLine
If left(strRline,12) = "USER to DECLARE" then
ReDim Preserve arrFileLines (i)
arrFileLines (i) = strRline
i = i + 1
end if
LoopobjFile.Close
"Then you can iterate over it like that"
For each strLine in arrFileLines
strTemp1 = MID (strLine, 15: 50)
IF instr (strline,"}" ") > 0 THEN
strTemp2 = MID (strLine, instr(strline,"{") + 1, (instr(strline,"}") - (instr(strline,"{") + 1))) ELSE strTemp2 = «»
END IF
WScript.Echo MID (strTemp1, 1, instr(strTemp1, """)-1) &"; '& strtemp2 '.
NextOBIEE get all users and roles of RPD
In this http://obiee101.blogspot.com/2009/06/obiee-get-all-users-from-rpd.html post I showed you how to get users to the RPD. That take as a point of departure it is a small step to get users and roles they have and put the export in a XLS:' Read_Usergroups.VBS 'John Minkjan' http: / / http://www.obiee101.blogspot.com/
' Get all the users from a repository
1: do an export the PRD UDML using nqgenudml.exe
2: change the location/name of file in this script
3: run the script in the cscript Read_Usergroups.VBS command line > users.txt
4: put the export in a pivot table XLSSet objFSO = CreateObject ("Scripting.FileSystemObject")
"this point your EXPORT UDML
Set objFile = objFSO.OpenTextFile ("E:\usergroup.txt", ForReading)
Const ForReading = 1
Dim arrFileLines()
Dim strRLine
Dim strTemp1
Dim strTemp2
Dim strTemp3
Dim intRoles
intRoles = 0
I have = 0
WScript.Echo "username; FULL_NAME; ROLE; COUNT. "
Up to objFile.AtEndOfStream
strRline = objFile.ReadLine
If left(strRline,12) = arrFileLines (i) 'DECLARE the USER', then Redim Preserve
strTemp1 = MID (strRLine, 15, 50)
strTemp1 = MID (strTemp1, 1, instr(strTemp1, """)-1)
IF instr (strRline,"}" ") > 0 THEN
strTemp2 = MID (strRLine, instr(strRline,"{") + 1, (instr(strRline,"}") - (instr(strRline,"{") + 1)))
ON THE OTHER
strTemp2 = «»
END IF
arrFileLines (i) = strTemp1 &"; "& strtemp2
intRoles = 1
i = i + 1
end if
If intRoles > = 1 then
If instr (strRline, "has ROLES (" ") > 0 then
intRoles = 2
end if
If intRoles = 2 and instr (strRline, "a of the ROLES (" ") = 0 then
strTemp3 = MID (strRline, instr (strRline, "" "") + 1.50)
strTemp3 = MID (strTemp3, 1, instr(strTemp3, """)-1)
WScript.Echo arrFileLines(i-1) &"; "& strTemp3 &"; 1 "
end if
If intRoles = 2 and instr (strRline)",") > 0 then intRoles = 0
end if
end ifLoop
objFile.CloseUPDATE POST
Is your on the right track, work these steps you will find glory... I force try it or needed me.hope helped you
Kind regards
Murielle.Published by: Kranthi.K on June 1st, 2011 02:28
-
How to find the child level for each table in a relational model?
Earthlings,
I need your help, and I know that, "Yes, we can change." Change this thread to a question answered.
So: How to find the child level for each table in a relational model?
I have a database of relacional (9.2), all right?
Tips:. O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */ /↑\ Fks O"O O" <-- level 2 for first table (circle) /↑\ Fks "o"o"o" <-- level 1 for middle table (circle) ↑ Fk "º"
-Each circle represents a table;
-Red no tables have foreign key
-the picture on the front line of tree, for example, a level 3, but when 3 becomes N? How is N? That is the question.
I started to think about the following:
First of all, I need to know how to take the kids:
Thought...select distinct child.table_name child from all_cons_columns father join all_cons_columns child using (owner, position) join (select child.owner, child.constraint_name fk, child.table_name child, child.r_constraint_name pk, father.table_name father from all_constraints father, all_constraints child where child.r_owner = father.owner and child.r_constraint_name = father.constraint_name and father.constraint_type in ('P', 'U') and child.constraint_type = 'R' and child.owner = 'OWNER') aux using (owner) where child.constraint_name = aux.fk and child.table_name = aux.child and father.constraint_name = aux.pk and father.table_name = aux.father;
We will share!
Thanks in advance,
Philips
Published by: BluShadow on April 1st, 2011 15:08
formatting of code and hierarchy for readbilityHave you looked to see if there is a cycle in the graph of dependence? Is there a table that has a foreign key to B and B has a back of A foreign key?
SQL> create table my_emp ( 2 emp_id number primary key, 3 emp_name varchar2(10), 4 manager_id number 5 ); Table created. SQL> ed Wrote file afiedt.buf 1 create table my_mgr ( 2 manager_id number primary key, 3 employee_id number references my_emp( emp_id ), 4 purchasing_authority number 5* ) SQL> / Table created. SQL> alter table my_emp 2 add constraint fk_emp_mgr foreign key( manager_id ) 3 references my_mgr( manager_id ); Table altered. SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by prior child_table_name = parent_table_name SQL> / ERROR: ORA-01436: CONNECT BY loop in user data
If you have a cycle, you have some problems.
(1) it is a NOCYCLE keyword does not cause the error, but that probably requires an Oracle version which is not so far off support. I don't think it was available at the time 9.2 but I don't have anything old enough to test on
SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by nocycle prior child_table_name = parent_table_name SQL> / LVL CHILD_TABLE_NAME PATH ---------- ------------------------------ -------------------- 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR
(2) If you try to write on a table and all of its constraints in a file and do it in a valid order, the entire solution is probably wrong. It is impossible, for example, to generate the DDL for MY_EMP and MY_DEPT such as all instructions for a table come first, and all the instructions for the other are generated second. So even if NOCYCLE to avoid the error, you would end up with an invalid DDL script. If that's the problem, I would rethink the approach.
-Generate the DDL for all tables without constraint
-Can generate the DDL for all primary key constraints
-Can generate the DDL for all unique key constraints
-Can generate the DDL for all foreign key constraintsThis is not solidarity all the DOF for a given in the file object. But the SQL will be radically simpler writing - there will be no need to even look at the dependency graph.
Justin
-
Access a table on Oracle 8 worm in Oracle 10 g
Hi all
Could you please tell me how to access a table sitting directly on the version of Oracle 8.1.6 database in Oracle 10 G database. Enjoy your time.
Thank you and best regards,
Ariean.Hello
If you runninng on a client computer, then you can use sql script to extract and use sqlldr to load from it. But if you want to extract using the pl/sql procedure (utl_file) then you must write a procedure that generates the CSV on server 8i db, then you ftp put .csv in shape and use sqlldr. Utl_file in 8i implementation is easy, but it might require a reboot. But in this case, write a small sql script to generate the file (spool) data (csv) and loaded into 10g using sqlldr. Here a little script to genereate a sql script that generates in turn "|" delimited datafile.
Just replace "MY_OBJECTS" with your table name and it will generate the sql script that you can run client to generate .csv ("" | "") bounded. You can change to generate «,»
{code}
SET pagesize 0
SET verify off
SET feedback off
SET linesize 400
SET Termout off
TRIMSPOOL on SET
SET TRIMOUT ONCOIL mytest.sql
SELECT 'spool test.csv' FROM DUAL;
SELECT DISTINCT
«set termout off»
|| CHR (10)
|| 'set feedback off.
|| CHR (10)
|| 'set on '.
|| CHR (10)
|| ' set pagesize 0'
|| CHR (10)
|| 'set linesize 800'
|| CHR (10)
|| "set TRIMOUT on.
|| CHR (10)
|| "set trimspool on."
|| CHR (10)
|| "long set of 2000'.
Of user_tab_columns
WHERE table_name = UPPER ('MY_OBJECTS');SELECT "select".
FROM DUAL;SELECT (CASE
WHEN column_id = 1
THEN
(CASE
WHEN data_type LIKE '% CHAR % '.
THEN
column_name
WHEN data_type = "DATE".
THEN
«to_char (' |)» column_name | ('' DD-MON-YYYY») "
ON THE OTHER
column_name
END)
ON THE OTHER
(CASE
WHEN data_type LIKE '% CHAR %' AND data_length = 4000
THEN
'||''|''|| substr ("|") column_name | 1.4000)"
WHEN data_type LIKE '% CHAR % '.
THEN
'||''|''||' || column_name
WHEN data_type = "DATE".
THEN
'||''|''|| TO_CHAR (')
|| column_name
|| '|'' DD-MON-YYYY ")'
ON THE OTHER
'||''|''||' || column_name
END)
END)
Of user_tab_columns
WHERE table_name = UPPER ("MY_OBJECTS")
ORDER BY column_id;SELECT «|» DELIM "'
FROM DUAL;SELECT "from MY_OBJECTS;"
FROM DUAL;SELECT "off spool.
FROM DUAL;{code}
Concerning
Published by: OrionNet on March 18, 2009 10:15
-
I have an Iomega external HD model MDHD320-T.
It has been used on an older Mac OX9 Office running.
Can I access data on this disc hard by downloading a software compatible with my current Mac OS Yosemite?
Also, I find no other than ads Iomega site.
Are they still in business?
Thank you!
George
Search Wikipedia for LenovaEMC.
The chances of finding software are slim to none.
-
OK first of all, I will say that I am very new to LabVIEW. I only started using it last week. I'm used to other programming languages, so if I use a terminology that is not common to LabVIEW, I apologize.
What I try to do is to collect temperature data and determine when it reaches steady state. I collect data from a thermocouple USB DAQ in a loop with a user defined number of iterations. Each of these iterations will in a table. The mean and standard deviation are calculated from this table. Everything I say is done inside a while loop and the standard deviation is low enough for the while loop ends.
It works perfectly, but, there is always a but, I wanted to turn construction calculations, an average and standard deviation of array in a Subvi so that I can use it sometimes as steady state is a big part of what I test. Also in this way I don't have to have the data table appear on the front. The question that I try to convey the DAQ data in the Subvi.
No matter what help do this, or suggestions on a more elegant way to determine the State of equilibrium is greatly appreciated. I have attached the VI in its intact form and a JPEG of it with the part I want to put in a Subvi converted (boxed) in red. Hope this is enough information and if you have any questions, concerns or suggestions, do not hesitate to post. Thank you.
-Kyle
You take a single measure by the loop iteration, so to convert dynamic data to a single scalar rather than a table. Now you are left with a 1 d table after the loop and this whole mess to remodel is no longer necessary. All you nead is the Subvi to SD and the average which comes with LabVIEW and so you already have.
You have a lot of conversions. "itérations" and "numeric" should be I32 (right clic... representation...) I32)
This sequence of rube goldberg comparison is stupid. All you need is a single comparison "SD".<0.005" and="" wire="" the="" output="" to="" the="" loop="" termination="" condition.="" (btw,="" there="" is="" also="" a="" primitive="" for="">0.005"><>
Seems silly to write all the raw numbers to a file every 10ms. It is probably enough for the 'means' in a log file.
Why do you not use acquisition of single point and a loop FOR. You can not make an acquisition of hardware timed with points N and dT data, eliminating the loop FOR entirely?
-
To access data from different pages
Hello
I want to know who, how to access data from an html page to another html page using Javascript or HTML5?
Thank you and best regards,
Tejas
After the installation of new WebWorksSDk, my problem is resolved automatically...
-
ADF against the REST business components to access data
Hello
JDeveloper 12.2.1
We are about to build a custom application of ADF that must run completely on the site.
Given that we build it from scratch, we want to start with last 12.2.1
There is also no specific use cases where another application has consumed our application services.
With the recent versions of JDeveloper and ADF, there was a lot of improvements made to REST etc. and other industry standards
I came across some discussions about to consider the use of these new features
We plan to use the default ADF Business components to access data, because our requirements and I am more inclined to the use of these.
That is to say, using the ADF business components based on database objects directly (using a thin driver for data source)
But I also want to determine if there is any other good reasons to use other ways to talk to the database (such as RESTful services) as shown in the links above.
I believe, if we must use RESTful services to access the data, then it should be in the following scenarios.
a. If the database is on a cloud (as if we use DaaS)
b. There are already services available for the access to these data, and just build the user interface
But if we build the application from scratch, which is supposed to be running on site, then I would choose the ADF business components to access data via a thin driver for the data source.
Someone can correct me if I am wrong in my thinking?
Thanks for any help.
Sameer
Without knowing your situation, I would say that it seems that the use ADF BC is the right way to go.
It will allow you not only to access your database, but also add logic and to create complex data structures and relationships – all in a layer that is outside your database.
Your ADF UI can then link directly to this ADF BC layer.
If in the future you will need other interfaces to access the same logic through REST services - then that in 12.2.1 you can expose ADF BC as REST services will give you this ability.
-
Dear all,
OS - Windows server 2012 R2
version - 11.2.0.1.0
Server: production server
ORA-31693: Data Table object 'AWSTEMPUSER '. "' TEMPMANUALMAPRPT_273 ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-00942: table or view does not exist
When taken expdp and faced error mentioned above. but expdp completed successfully with waring as below.
Work "AWSCOMMONMASTER". "" FULLEXPJOB26SEP15_053001 "finished with 6 errors at 09:30:54
(1) what is the error
(2) is there any problem in the dump because file as above of the error. If Yes, then I'll resume expdp.
Please suggest me. Thanks in advance
Hello
I suspect that what has happened, is that demand has dropped a temporary table to during the time that you run the export - consider this series of events
(1) temp table created by application
(2) start expdp work - including this table
(3) the extracted table metadata
(4) the application deletes the table
(5) expdp is trying to retrieve data from the table - and gets the above error.
Just to confirm with the enforcement team that the table is just a temporary thing - it certainly seems it name.
See you soon,.
Rich
-
Hello
How to prevent a user not to access a table special (xxx)?
This user has SELECT a TABLE ALL privilege. I need to restrict to only not for access xxx to the table, but this table is not existed in its own schema.
But there is access able as select * from schema.table;
How can I revoke this privilege.
Please help me solve this problem.
Thank you
Lacombe
1623609 wrote:
How can I select privilege on specific tables at the same time?
I want to create a new user and grants the right to select for tables, except a table (xxxx).
It will be possible without the keystone of the database?
One way, in several sql
coil doit.sql
Select ' grant select on ' | owner: '. ' || table_name |' to someuser. »
from dba_tables
where
spool off
Then sanity check "doit.sql" and execute it.
-
How can I reapply style to data in a data table Spry HTML CSS?
Hello. I have Adobe CS6 installed on my computer and am new to the use of Adobe. This is my first post. To learn Dreamweaver, I read the book Adobe Dreamweaver CS6 Classroom in a Book. I now do the Lesson 13 and will have trouble to do the part up to step 21 on page 342. I have a Spry data table in two ranks, but he lost the CSS style applied in Lesson 7. I can't reapply. For example, the title was drawn on pages 194 and 195 using the legend of table content section. To try to apply a new style, I chose the title, but did not see the style in the drop of class in the property inspector. Otherwise, I control-click on the style in the CSS Styles Panel, apply in the context menu has been grayed out. The following two sections of the Lesson 13, HTML data update and work with XML data seem to work very well however. The second data table Spry to two rows, using XML data, has all the CSS styles. The first table used in HTML, the file calendar.html (XHTML)data. I couldn't find a table called calendar.html in the folder of resources 07 lesson (step 1 on page 184). There is another difference between HTML and XML tables. When the XML table has been transformed into a Spry data set, it lost the ID created in Lesson 9. By following the instructions in step 11, page 343, it was added to the XML table. The table using HTML data kept his ID when he became a Spry data set.
Here is a screenshot showing the HTML above and XML tables downstairs.
I hope someone can explain why the table HTML lost its style CSS and how it can be reapplied. I tried to carefully follow all of the steps in the book. Thank you.
Look at the CSS file and, for example, see the following resources
. Happy section table {}
do-size: 90%;
Width: 740px;
margin left: 15px;
border-bottom-width: 3px;
border-bottom-style: solid;
border-bottom-color: #060;
border-collapse: collapse;
}
He translated means that you apply a style to an array element inside a section element that is inside an element with a class of content.
Now, take a look at the markup and see
Here we see a table inside an element with a class of content. Compared to the style rule, the section element is missing.
Add
and don't forget the closing ( ) tag. The markup becomesClasses and green events
-
How to access the tables in another workspace (same server)?
This is probably simple, but I can't understand it: we have different applications in different areas of work, but on the same server: how I can simply access the tables (just read-only) in a different workspace than the application?
Published by: JJ MAHÉ - Oracle on March 18, 2013 02:07If you really need only Privs-SELECT on tables, it's perhaps easier to grant the privilege to the target schema to your schema.
-
To access the Tables using DB link.
Hello friends,
I have an env development and production.
I created a public link to DB developing say mylink.
Trying to access the development of production table using the following command say to access x table
Table DEV to access the PROD x using dblink
Select * from x@mylink;
Got the error like:
ORA-02019: description of the connection to the remote database not found
02019 00000 - "description of the connection to the remote database not found"
Any idea on why this error is coming...
Thank you/kumarI have an env development and production.
I created a public link to DB developing say mylink.
Trying to access the development of production table using the following command say to access x table
Table DEV to access the PROD x using dblink
Select * from x@mylink;
You try to run the query in the database of PROD. This query uses a DB link that points to the DEV database.
Very simple to understand: as you use the LINK DB in the PROD database, obviously it should be in the area of PROD... right?
Imagine you use a PROD ("DBLINK") object and it does not exist here. I have it?SELECT * FROM x@mylink;
Here,
x database DEV table
myLink - DB LINK in the database of PROD (pointing to DEV)Please try this.
HTHPublished by: Vanessa B on December 25, 2012 12:24 AM
-
MDM 2.0.1 - What is meant by the "rail" mdm data table?
What are the 'rail' mdm data table? What they contain? Examples:
* d1_dvc_k
* d1_contact_k
* d1_sp_k
* d1_install_evt_kThese tables are tables of 'key '. This concept is part of the infrastructure of the Oracle Utilities applications and is used to hold the values of the unique keys for entities among different environments. In the past it has been used for example by the engine of archive to ensure the key value of the transferred Scriptures to your archive, would still be to your live system. This would prevent the system to create a new entry with the same key as an input value in your archive.
-
Deleted lines flashback: unable to read data - table definition has changed
Hi all
Its really Important.
I unfortunately truncated a table using
Trancate table mytable;
and made an alter table to reduce the length of the pricision data.
But I need back data of tabla
I used the command to get the deleted lines, below, it shows error.
query: select * from pol_tot versions between timestamp systimestamp-1 and systimestamp;
error: ORA-01466: unable to read data - table definition has changed
query: flashback table pol_tot to timestamp systimestamp - interval '45' minutes;
error: ORA-01466: unable to read data - table definition has changed
Well want to share your ideas how can I deleted thoose Records.
Edited by: 887268 July 8, 2012 12:26This
and Made a alter table to decrease data pricision length.
is the cause of your error.
Now please do what is obvious.
-------------
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
Aluminium look and mesh band watch
It is still possible to use a watch band of mesh in stainless steel with a series of Apple Watch 2 aluminum?
-
Satellite U940 - 11 d - 32 GB mSATA SSD use
Hello world I bought the week last Toshiba U940 - 11 d and I would replace the drive HARD 750 GB with 120 GB SSD. I have a question. I would like to install Windows 8 in SSD 120 GB drive and use another DDD which is mSATA for swap or my documents. Is
-
Replace with non-lenovo disk?
Active protection system will work if I can replace my drive perceive a disk standard non-Lenovo? I know that the shock sensor is on the motherboard, but are there special requirements for the drive itself?
-
computer does not recognize the software adobe reader or flash player
We cannot watch videos or access sites to make taxes.it always says you have either turned off java script or an older version of adobe flash player. We uninstalled and installed adobe reader and active x several times all to nothing does not. any in
-
Dell 2335dn Scan Manager opening PDF Documents
We just bought a 2335dn to scan of files in a folder on our server, it works fine (except for the horrible menu interface). We have a problem that after each scan it opens the scanned document on the server that we don't want. We want other people on