Creating multiple profiles, using unified profile types, to store multiple values for same properties
Hi All:
I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.
The scenerio is,
define unified profile types (Business, Vacation) using Personalization
admin tools, using com.beasys.commerce.axiom.contact.User,
com.beasys.commerce.axiom.contact.UserHome,
com.beasys.commerce.axiom.contact.UserPk,
com.beasys.commerce.axiom.contact.User for Profile Class, Home, Pk class,
JNDI name respectively.
Define Property set 'HotelCommerce' with property
HotelProp as single, restricted, text (valid values Single, Double)
Now you can use the attached jsp files to login as a user and try to set the
property value for HotelProp for each profile. As per my understanding, I
was expecting that I can set different values for the property 'HotelProp'
for each profiles. But unexpectedly, all the profiles get the same value.
Question. is it the correct behavior? if yes, how can I achieve this
functionality?
if not, do you see any problem in my scripts?
your answer asap is appreciated. we need to make decision on using
Personalization server v/s developing our own Personalization server!!!:)
thanks,
-rajesh
PS: I have tried 'Unified Profile Example' type too, but that did not work.
[propsettest.jsp]
[home.jsp]
I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.Hello Rajesh,
This is not the purpose of the UUP. The UUP is used to allow existing
database schemas to be aggregated with the existing Weblogic Personalization
Server database schema to provide a single, customized user profile with which
to maintain the user properties (
http://e-docs.bea.com/wlcs/p13n/users.htm#1068901 )
If you want to have properties that change value based on some "profile" or
classification of a user, then you should use classifier rules to change the
user from "OnVacation" to "AtWork" or "AtHome". You can use these classifier
rules to select content for the user or conditionally execute logic (
http://e-docs.bea.com/wlcs/p13n/rules.htm )
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com
Similar Messages
-
Cannot create a server using the selected type
Hi,
I'm trying to integrate tomcat 6.0 with Eclipse. But when I try to add Tomcatv6.0 Server,
it is sowing an error message " Cannot create a server using the selected type ".
Can anyone tell me why?
Thanks in advanceIn order to solve the problem you need to
* close eclipse
* go to ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
* remove the files org.eclipse.wst.server.core.prefs and org.eclipse.jst.server.tomcat.core.prefs
* solve the problem with the permissions of the policy files or the personal instance of tomcat6
* start eclipse
In order to be able to use the tomcat6 server the proper solution is to have a personal instance of the tomcat6 server as described in the section "Advanced Configuration - Multiple Tomcat Instances" of the file RUNNING.txt (and the problems that have been reported about this ;-) )
My configuration: Debian/Sid, Eclipse 3.4.1. Ganymede
george -
Create table dinamically using java sql types?
Hi! I've an application that reads an XML file. This file contains de definitions of some tables, using java sql types. For example:
<dbtable>
<dbtablename>Name of table</dbtablename>
<dbtablefield>
<name>Name of table field</name>
<type>java.sql.Types.VARCHAR</type>
<length>10</lenght>
<canNull>0</canNull>
<isPK>1</isPK>
</dbtablefield>
</dbtable>That's a little example of one table, with one field. Is a java.sql.Types.VARCHAR (or is equivalent in int), which has a size of 10, it cannot be null and is a primary key for the table.
Now, the lenght, null, and primary keys are not problem at all. What I want to know, is how do I create de table using the java.sql.Types. I mean, I don't want to hard code:
String s = "CREATE TABLE name (COLUMN VARCHAR(10)...";Instead, I want to use some "wild cards", as are used in PreparedStatement. The idea of this is that no matter what DB I'm using, I must always be capable of creating the tables not worrying for the DB. I mean, I must be able to create the table in Oracle, SQL Server, DB2, etc., using the same XML and the same java class.
Something like:
String s = "CREATE TABLE name (COLUMN ? (10)...";
someobject.setObject(1,java.sql.Types.VARCHAR);
someobject.execute(); //create tableIs this possible? Or do I have to make a map for each DB?
Thanks a lot for your help! Dukes available!you can provide some fields at runtime..
for example
"CREATE TABLE name (COLUMN" + arg[1] +"(10)..."
here arg is the string array passed into the main. -
How to store global values for the whole application to use ?
Hi,
In our application, we have global values that is store in a parameter table, I want only to query it once, and it will be used every where from the whole application.
e.g :
I have general parameter tables that store :
% Tax
Current Period
etc..
Then these values will be used in our business rules in the whole application.
How can I do that in ADF BC ?
Thank you,
xtantoI would go ahead and create a transient VO with an attribute called "userLanguage" and store the value at the initialization step.
We generally call this type of VO as PVO which is a transient VO and contains only 1 record at any point of time. Keep this VO inside the RootAM and you can write a static util method as below..
public static String getUserLanguageFromPVO()
PVOImpl pvo = (PVOImpl)am.findViewObject("MyPVO");
if(pvo != null)
Row row = pvo.first(); //Always returns the one record
return (row == null ? null :
(String)row.getAttribute("UserLanguage"));
return null;
} -
Need to concatonate multiple values for same key columns into one string
Hi...I'm attempting to use PL/SQL to read through a table containing more than one column value for a set of keys, and concatonate those values together into one string. For example, in the STUDENT table, for a STUDENT_ID there are multiple MAJORS_ACCOMPLISHED such as History, Biology and Mathematics. Each of the majors is stored in a different row with the same STUDENT_ID due to different faculty DEPARTMENT values.
I want to read through the table and write out a single row for the STUDENT_ID and
concatonate the values for MAJORS_ACCOMPLISHED. The next row should be another STUDENT_ID and the MAJORS ACCOMPLISHED for that student..etc.
I've hit a wall trying to use cursors and WHILE loops to get the results I want. I'm hoping someone may have run across this before and have a suggestion. Tks!!I think you are looking for string aggregation.
The following are the replies posted by me in the forum recently on the same case.
they might help you.
Re: Concatenating multiple rows in a table - Very urgent - pls help
Re: Doubt in a query ( Urgent )
Re: How to remove words which consist of max 2 letters?
Re: output like Name1,Name2,Name3... -
I have three buttons below my space bar which function, basically like the left-click, right- click buttons on a mouse but the middle button, when held down, should allow me to move the joystick up or down to continuously scroll up or down a page. Now, it doesn't work. This is a function I really like. If I cannot resolve this, how do I remove Firefox 4 and go back to my previous edition of Firefox?
Thanks for the suggestion - i checked and scrolling is activated. Which fits with the fact that it works in every other application apart from firefox. Any otehr ideas?
thanks os much! -
DNG Profile Editor - Can it show L-a-b values for resulting colors?
Hello,
When adjust colors I haven't found out yet how I can see the resulting L-a-b values of the new color. I see the values when I move the mouse over the picture but these are still the original values even after a change. How can I display the values of the resulting colors assigned in the color table?
So what I would really like to enable (if that is possible) is that i hold the mouse over the left side of a color in the color table and see the original L-a-b values and then i move the mouse to the right part of the same cell at the color table and see the L-a-b values of the result.
Is that possible somehow?
Thanks,
MichaelAt present, you cannot see the resulting (i.e., "after") Lab values. This has been noted as a request for future updates.
-
Running report from command line with multiple value for same parameter
Hey,
I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
Any help on this?
ThanksHello,
Bursting and Distribution may help you ....
37 Bursting and Distributing a Report
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
Regards -
Counting one of multiple rows with same value for same ID
Hello,
I have this query:
SELECT
count( case when EXISTS (
SELECT *
FROM business_log bl, subject su
WHERE su.ID_SUBJECT = s.ID_SUBJECT
and bl.id_subject = su.id_subject
AND bl.value = 'Solved'
then 1 else null end) num_solved
FROM subject s
It is posible that one subject is more than once 'Solved' in table BUSINESS_LOG
I want to count only one row solved for one subject.
I must to use only SUBJECT table in the main query because of other counts.
Thank You very much.
Regards
Milos
Message was edited by: 2796614so in case you have no solved entry...you get NULL back instead of 0.....
and....there is no need for the group by ....as you are only looking for one subject
SELECT COALESCE((SELECT max(1)
FROM business_log bl
WHERE bl.id_subject = s.id_subject
AND bl.value = 'Solved'),0) num_solved
FROM subject s
but....I would like to have a proof, that this one is faster than the outer-join solution.
So...perhaps we'll see an execution plan for both of them.
corrected....missing bracket -
Multiple GR values for same quantity
Hello all SAP MM Gurus,
I have a strange problem. I have a MM scheduling agreement 5500013812 and in this agreement there is one line item for material 651660. The GR has been done for this line item a number of times since 2009. But when I went to purchase order history of this line item, I found that for a quantity of 500 PCs, the system has posted different amounts.
For example, when the GR was done on 02/21/2011 for qty 500, the amount was 706.68 EUR. When the GR was done on 01/31/2011 for qty 500, the amount was 776.94 and when the GR was done on 12/13/2010 for qty 500, the amount posted was 765.57 EUR. This is really puzzling me since there are no price changes in Material master record or in MM scheduling agreement. There are no alloy surcharge price changes also. But still, why the system is posting different amounts for same quantity of this material, I don't understand.
Can someone please tell me whether I am missing something somewhere? Your suggestion would be very much helpful for me in resolving this issue.
Thanks and Regards,
Umakanththis? :-(
SQL> WITH t AS
2 (SELECT 'SCOTT' NAME ,'jefferson rd' address FROM dual
3 UNION ALL
4 SELECT 'KODY', 'milburn' FROM dual
5 UNION ALL
6 SELECT 'ZACH', 'westlake rd' FROM dual
7 UNION ALL
8 SELECT 'KAREN', 'camarillo' FROM dual
9 UNION ALL
10 SELECT 'MILLER', 'jefferson rd' FROM dual
11 UNION ALL
12 SELECT 'THOMAS', 'milburn' FROM dual
13 )
14 SELECT *
15 FROM t
16 WHERE address IN (SELECT address
17 FROM t
18 GROUP BY address
19 HAVING COUNT(*)>1);
NAME ADDRESS
SCOTT jefferson rd
MILLER jefferson rd
KODY milburn
THOMAS milburn -
Why is mobile phone use in USA most expensive in the world for same or lower quality?
I was actually spurred to ask this when I saw what I'm paying for 4 lines and 3gb of data versus what att offers now. Feeling doubly abused.
Try Germany. Their network is heavily subsidized by their government. They also tax you up to 50% of your earnings. Gas there is roughly $10 per gallon. Mathematically I have seen where in most European countries with the same commodities they end up paying the same average when everything is said and done. Just the "pies" look different.
-
Maintain differ type of Unit of measurment for same material
Hi Expert
I procured (internal /external) one material in Kg, but I want maintain different unit of measurement (like M). & sale is different unit of measurement (like m2).it is possible ?
If Possible kindly explain the steps
Advance thanks for all
Regards
PorseeHi,
You can maintain different BuM
But the stock keeping BuM will remain same
You have to maiintain in Purchasing view if you wish to Purchase in different BuM other than BuM of material soon you enter different BuM in Purcahsing system aske for the convsrsion factor Like 1kg = 100 PC here BuM is 1Kg but ordered BuM is PC
In the similer way in Sales View you can enter sales BuM & stock keep BuM.
Regards -
HI MM Folks,
My requirement is reservation should be created with 311 movt type. When we do good issue with 201 movt type with reference to reservation
system is throwing an error "Goods movement not possible with mvmt type 311". Due to MRP run we should create a reservation using 311 movement type but not 201 mvt type, (If we create a reservation 201 movt type, during MRP run automatically reservation quantity also taking into consideration, to avoid this we will be creating reservation as 311 movt type). Is there any enhancement to available to reach the requirement. If it is possible give me guidelines.
your help will be highly appreciable.
Regards
VinayDear,
Movement type 311 is for doing transfer posting from storage location to storage location with single step.But Movement Type 201 is to have consumption entry with respect to cost center etc...
You are creating a reservation using 311 movement type and while posting the entry you are selecting the"Executable action in MIGO" is "A08-Transfer Posting" so system will always use the movement type used at the time of reservation only.Here you can not change.
And more over if you process entry with 201 movement type system creates accounting documents but with movement type 311 system will not create accounting documents.
Regards,
Pardhu -
Determining in and out Gamut values for RGB profiles
Hi all,
I am looking into how to check if a swatch value falls within my .icc profile gamut.
If I have a color value for example L=74 a=12 b=-37 and I want to see if it falls within my .icc profile I can select Edit>Convert to Profile and choose my profile
I then can select the swatch and see if there's a gamut warning there.
With the above swatch if my color profile is "Photoshop 5 Default CMYK" I will get the warning, if I change the profile to "US Newsprint (SNAP 2007)" I won't get it.
This works great for CMYK profile.
My question is how to check if the color falls inside an RGB profile?
I have tried changing the document intent to Web and Digital Publishing and changing the RGB profile but only changing the CMYK profile affects the out of gamut warning.
Does any one know of a solution to this? The same issue would appear to be in photoshop.
Thanks in advance.
TrevorTimo,
actually he wants to set the attribute mapping dynamic, reading the field to map the return value to from a custom property.
1D10T,
If this could be done then in the Def object of a view object (which means its not per user session but use). Investigate into the View Object Def object for the view object that defines the list of value (not the one that you use as the LOV list source)
Frank -
Multiple CHECKBOX Using Select Query in htmldb.item API
Hi,
I have a requirement where I need to create a Record using HTMLDB_APPLICATION.CHECKBOX ..but having multiple values(around 8) using the Select statement.
I tried the STATIC thing, but it shows only 2 values.
Is this possible ?
How ?
Thanks
Sandeephey sandeep--
i'm not sure at all what you're asking here. if this is still an issue for you, please restate it much more clearly.
thanks,
raj
ps-there is no htmldb_application.checkbox.
Maybe you are looking for
-
HOW TO MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN
Dear friends, How to make the save button , in the tcode QA32 intial screen in GREY MODE. As i don't want the screen variant created by me should not be seen by the user.
-
Problem to import wsdl in SAP XI (3.0)
Hi, I want to import a WSDL in the Integration Repository as External Definition but I don´t see any messages in the corresponding tab. I check it in the WSDL Tab and all it's ok. The same file has been imported in SAP PI 7.1. and here I can see all
-
ORA-06502 on 'SQL query' report with sort in 'Report Attributes'
Hi All, We get the next error if we set sorting on a column in a 'Report' based on a 'SQL query'. Removing the sort, error disappeares: failed to parse SQL query: ORA-06502: PL/SQL: numeric or value error: NULL index table key value Any suggestions?
-
Solaris 10 /dev/poll bug
Solaris 10, at least on my T2000, seems to give me an EINVAL from the DP_POLL ioctl in a case where it shouldn't. The below example code should clarify: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> #include <errno.
-
I recently upgraded to ML and now I find that CS5.5 programs crash unexpectedly all the time. Is anyone else having this issue and what's the best way to resolve this. Help.