How to Get Page Names For an Particular Role
Hi Experts,
I can easly get the roles assigned to an particular user through UME.
How can i get the pages assigned to each roles.
Please help me...
Thanks
Rabin
Hi Rabin,
Refer to this blog.
Browse Roles, Folders, Pages & iViews assigned to a user: EP6 SP9 and higher
Thanks
Prashant
Similar Messages
-
How To Get Attribute Names for a Particular VO
Hi ,
How To Get Attribute Names Of a Vo where I can Set Viewattributname To the Table RN Columns Where I am Adding Extra Columns Based on Some Condn..
So wen i am creating new Column to existing Table RN and we Need to add Attribute Name Also...Rt..
And How To get RelationShip Between Database Column Name and Java Vo Attribute Name
Ex: PlanId is the Java VO Attribute Name for the Database Column PLAN_ID
In The Same way Hw We Get the Relation ship for All other columns In the Controller Cllass ..
Can Any One Reply as It is urgent Req...
Thanks ,,
JithenInstead of using the VO attribute names to set and get values, best to go to the VO definition, click on Java, and generate the View Row Class with the accessors.
In the class where you're trying to set attributes, instead of a Row class, use the View Row class of your VO (eg ViewObjectName's class would be ViewObjectNameRowImpl), and when retrieving a row from the VO, cast the row to the previously mentioned View Row Class.
At that point you can use the View Row Class's methods that would perform sets and gets of each column.
To get attribute names, I don't know off the top of my head, but there might be a method mentioned in the Javadoc for the ViewRowImpl or ViewObject or ViewObjectDefinition classes to get the attribute/column mapping, or perhaps you can somehow read the XML definition of the VO which has that mapping.
Assuming business components were built automatically and no attribute names were overridden, intuitively the attribute name is a camelcase version of the column name, removing understores and capitalizing the character following the removed underscore - but that's not a fool proof approach. Just a general observation.
Hope this helps.
Edited by: user6631964 on Sep 16, 2010 12:31 PM -
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
How to get pages list for a group space or create a page for a group space
hi All,
I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
1. Get pages list for a given group space
2. Create a page for a given group space
I researched the following codes from web site:
PageDef newPage = mPageService.createPage(
PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
"MyPageTemplate1.jspx",
"/mytemplates/",
null, null, null);
What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
Best regardsdid you manage to get the page list using Page Service API?
-
Getting column names for a particular Table from Connection object.
Hi,
Can any one suggests me a way to get column names from a particular table of a database from the java.sql.Connection object. ?
Thanks in advance.Connection connection;
DatabaseMetaData metadata = connection.getMetaData();
String[] names = {"TABLE"};
ResultSet tables = metadata.getTables(null,"%", "%", names);
while (tables.next()) {
String tableName = tables.getString("TABLE_NAME");
ResultSet columns = metadata.getColumns(null, "%", tableName, "%");
while (columns.next()) {
String columnName = columns.getString("COLUMN_NAME");
} -
How to get the View for a particular Document position?
Hi there,
Does anyone know how to get the "deepest" View that is responsible for rendering a particular Document offset?
I tried looking at modelToView() and some other methods, but I am lost.
Can anyone please help me?
Thanks,
SwatiBart--
To find the table cell of the insertion point, you could use something like:
InterfacePtr<ITextStoryThread> storythreadp(txtModel->QueryStoryThread(startPos + 1));
InterfacePtr<ICellContent> cellcontentp(storythreadp, UseDefaultIID());
if (! cellcontentp) {
// Not a table cell, so see if it's the primary thread (kTextStoryBoss/ITextModel).
InterfacePtr<ITextModel> threadmodelp(storythreadp, UseDefaultIID());
if (threadmodelp) {
// It's the primary thread...
else {
// It's something else with an ITextStoryThread (note, footnote, etc.).
else {
// The insertion point's in a table cell (kTextCellContentBoss).
InterfacePtr<ITableModel> tableModel(cellcontentp->GetTableModel(), UseDefaultIID());
GridID gridID(cellcontentp->GetGridID());
GridAddress gridLoc(cellcontentp->GetGridAddress());
// ...and so on.
Hope this helps get you where you want to go.
Chris Roueche / Freelance Developer -
How to get Manager name of a particular BP/User from territory management
Hi Guys,
I want to retrieve the Manager name of a particular BP/User from territory management. The manager might be in any territory hierarchy level above the user.
Please guide.
Regards,
ShailiHi Shailip,
Basically Territory hierarchy is customized based on client's business, from your reply if i understood properly i think your territory has 3 levels and
First level : District
Second level: Area
Third level: Branch
when an employee at third level is passed, you need employees assigned to area and district levelwhich are above Branch(in your case managers)
Solution: Example
First level : District - territory length(2 char)
Second level: Area - - territory length(4 char)
Third level: Branch- territory length(4 char)
1. Read the territory hierarchy(which is customized to meet clients requirement) using function module
CRM_TERRMAN_TERRLEVEL_READ ehich gives territory levels with territory length and territory offset
2. pass employee(business partner number) to FM CRM_TERRMAN_TERR_EMP_DETERMINE and get the branch path id.
3. Based on territory length for above levels drill down to Area's path id and District's path id and pass those path id's to
FM CRM_TERRMAN_EMPLOYEE_DETERMINE to get managers.
Hope this helps.
Thanks,
Priyanka -
How to get page name in JDeveloper
Hi,
Is there any way to get the Name of the page we are in in OAF JDeveloper.
We have a requiremnt where we need to develop a custom region in Jdeveloper and add this to multiple oracle std pages.
Basing on page, we need to query the custom region with different parameters.
Developed a stand alone region in Jdev and added this region to Oracle Std pages using personalization.
Can some one please tell how to know the page contexts page name.
Thanks in Advance.
KishoreAbdul,
To test your suggestion, Created a test page TestPG.
Through Personailzation, Added a hidden Item(Rendered flase) with default value and the custom region CertRN to TestPG.
Tried to get the value of hidden item in CO of CertRN and got null pointer exception. Looks like regions co is not getting handle of Test page.
This the code I added in CertRN controller.
OAMessageTextInputBean pgItm = (OAMessageTextInputBean)webBean.findChildRecursive("PName");
String pgitm = (String)pgItm.getValue(pageContext);
Am I doing anything wrong.
Regards
Kishore -
How to get domain name for the userId?
There is a generic way to get userID
System.getProperty( "user.name" ).
In case of windows it's a name you login in.
Is any way in Java to figure out domain name of that particular user by Java code?
IgorYou can dojava.net.InetAddress.getLocalHost().getHostName()to get the name of the computer. But this will not give you the "domain name of the user". In Windows, for example, when I sign on to my computer, that user name only means something to my computer. There's no "domain", in the Internet sense, involved.
-
How to get file name for failed request in JSOM
hello friends,
i am uploading files to sharepoint 2013 document library. due to some problem when a file is not uploaded request is failed and failed callback handler is executed. at this time how i can know for which file has not been uploaded.
as i am uploading multiple files so it is necessary to know for which file error occurs.
please help
Thanks in advance.
MukeshHi Z..
it will be hard for any one to understand the code. how ever I have provided bellow.
theme is I need to upload multiple files selecting one by one asynchronously when a file will begin to upload It will show status of file name with processing image. similarly for other files.
ones file successfully uploaded processing image will get hidden. and delete will appear.
when error occurs for a file then processing div need to be removed for which I need file name when request failed. in failed handler
function uploadData()
var input = $("#fldFile")[0];
if (input) {
$("#uploadedfile").append("<div class='file'><label>" + input.files[0].name + "</label><div class='image'><img src='/_layouts/15/KPMG.VendorPortal.DMS/processing.gif' alt='processing..'/><img src='/_layouts/15/KPMG.VendorPortal.DMS/error.png' alt='delete' style='display:none;' /></div>");
file = input.files[0];
filename = input.files[0].name;
fr = new FileReader();
fr.onload = uploaddocument;
fr.readAsDataURL(file);
function uploaddocument()
web = clientContext.get_web();
clientContext.load(web);
list = web.get_lists().getByTitle("TempLibrary");
rootFolderUrl = list.get_rootFolder();
file = this.result;
clientContext.load(rootFolderUrl);
clientContext.executeQueryAsync(onuploaddocumentsuccess, failed);
function onuploaddocumentsuccess()
fileCreateInfo = new SP.FileCreationInformation();
fileCreateInfo.set_url(rootFolderUrl.get_serverRelativeUrl() + "/" + foldername + "/" + filename);
fileCreateInfo.set_overwrite(true);
fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
// Read the binary contents of the base 64 data URL into a Uint8Array
// Append the contents of this array to the SP.FileCreationInformation
var arr = convertDataURIToBinary(file);
for (var i = 0; i < arr.length; ++i) {
fileCreateInfo.get_content().append(arr[i]);
// Upload the file to the root folder of the document library
uploadedfile= list.get_rootFolder().get_files().add(fileCreateInfo);
clientContext.load(uploadedfile);
clientContext.executeQueryAsync(documentuploaded, documentfailed);
function documentuploaded()
var fname = uploadedfile.get_name();
$("#uploadedfile").children("div").each(function () {
var flabelname = $(this).children("label").text();
if (flabelname.trim() == fname.trim())
$(this).children("div").children("img").get(0).style.display="none";
$(this).children("div").children("img").get(1).style.display="block";
alert("uploaded");
function documentfailed(sender,args)
Mukesh -
How to get file names for one oracle directory object.
Hi all ,
I defined one oracle directory object . Now I want to know how many files stored under this object in physical directory and their names ? anyone know how to do it by pl/sql ?
Thanks,
GeorgeChris Poole has an [XUTIL_FINDFILES package|http://www.chrispoole.co.uk/apps/xutlff.htm] which can do this in pure SQL. It does require, though, that your DBA install code in the SYS schema and that you rely on the behavior of an undocumented X$ table. That may not be possible in certain environments.
I personally prefer a small Java stored procedure along the lines of [this one from Tom Kyte|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584]. It isn't a pure PL/SQL solution, but it tends to fit relatively cleanly in any environment. Most DBAs will be willing to grant the privileges this sort of approach requires where they would be hesitant to grant the access necessary for XUTIL_FINDFILES.
Justin -
How to get CLASS name for the generic item?
Hi,
I wrote following method to create a service instance.
public static <IType> IType GetServiceInstance()
IType type=null;
try
InitialContext ic=new InitialContext();
//ERROR: type= ic.lookup(IType.class.getName());
catch(Exception ex)
//do handle
return type;
}please see the //Error: here its giving error, also i m not getting "class" variable in IDE!!!
i want use like this;
IUserService userService=ServiceFactory.GetServiceInstance<IUserService>();so how can i do this?
Edited by: Manikandan.Java on Oct 31, 2007 3:02 AMI don't know if I understand your question, but you cannot find the class name because it is in run time just an object. You can, however, check if it is an instanceof.
if (genericType instanceof MyType) {
doMyThing();
} -
How to get the assignees for a specific role in process in BPM 11g
Hi, Gurus,
I am using BPM 11g. I am trying to retrieve all the assignees for a a specific role in process. It will be a parameter for a business rule to do further routing rule. But it seems there is no way to get the information. I found that there are Identity Service Functions in Human Task Assignment. But Identity Service Functions are not listed in Business Rule Activity, neither listed in other activities except Human Task Assignment. I cannot get the assignees in my process.
Is there any way to get all the assignees for a role? I also tried to retrieve the assignees out engine with Worklist API, but it cannot get either. Actually we can get all the assignees information in automatic activity in OBPM 10g. Maybe I am still not familiar with 11g. Any advice is appreciated.
FYI:
My scenario:
Suppose we have a role named ApprovalTeam. In this role, there will be several different department manager (BPM User) added in the role through Workspace. At run time, a request (With department info) with go through the approval by ApprovalTeam. A Business Rule Activity with decide which department manager will approve this request. Different department request will be dispatched dedicate managers, not all the managers in the role. I have an external JavaBean to get the department information from LDAP. To do the routing, I also need know all the department managers (BPM User) in the ApprovalTeam role. Then I can compare which department manager is matched with the request and assign the task to him.
Thanks a lot,
James
Edited by: James Piao on May 31, 2010 6:25 PMor this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
How to find Object name for a object?
Hi Experts,
How to find Object name for a particular Object? Is there a Tcode for it?
__Like Object name for__
Material number - materialnr
Goods receipts / return - matbeleg
Accounting documents - rf_beleg
How to find Object name for other Objects? Is there a particular way?
Thanks & Regards
ChandanHi,
You can find objects in SNRO transaction.
In SNRO search by giving long text...
for eg., Service .. for service entry sheet. keep the first letter in capital letter only.
Thanks & Regards,
Anand. -
How to get a organization name for a particular user using API's
Hi alll,
How to get a organization name for a particular user using API'sYou need to do something like this:
SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
UserManager usrService = oimClient.getService(UserManager.class);
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));
Maybe you are looking for
-
Firefox on Android Jellybean 4.2.2 is soooo slow?
I am a long time user of Firefox on my PC. Could not do without it anymore :) So ofcourse I did install it right away when I got my Samsung Galaxy Tab 3 WiFi with Android Jellybean 4.2.2. And it is like a total other world: it is sooooo slow. It take
-
Problem with JPanel sizing!
Hi, Just having a bit of difficulty with the sizing of JPanels. For example, if I create a JPanel and add it to a Frame, no matter what I set the size to the JPanel fills the entire Frame. I don't really know whats going on here and I'm just making g
-
Adjust position and size of textField and button...
Dear All, I have the following sample program which has a few textFields and a button, but the positions are not good. How do I make the textField to be at the right of label and not at the bottom of the label ? Also how to adjust the length of textF
-
How to sequence canvasses, SVGForms, SVGSplashScreens
I have made a program, that "walks" , through a few input phases. Purely sequentially: 1: the splash, that times out after 2 seconds and at DISMISS_COMMAND steps to a 2: Canvas, that processes exactly 3 keyPressed events and then automatically jumps
-
Which Factory Calendar is used to determine the Sales Order delivery date
Hi , There is Factory calendar assigned to sales Org and shipping point as well. I want to know which Factory calendar is used to determine the promise date on sales order acknowledgement and which one is used to determine the delivery date? Apprecia