Getting the profile of all iviews in a page
Hi All,
I am having 2 iViews created from a single par in a page.
These iviews display some data in the form of a tree view.
The content of these iviews are different and are based on
a profile property value specified in portalapp.xml.
On click of the personalize option, another component (page) is
invoked which displays a similar tree view which can be edited.
The problem is this works fine if there's only one iview in a
page. If there are two or more iviews, the profile property
value retrieved got in the code is the same for all the iviews which
should actually be different for different iviews.
Can anyone guide me how to get all the profile properties correctly?
Regards,
Karthick
Try different values for the Isolation Method property of the iViews (embedded or pumped or url):
http://help.sap.com/saphelp_nw04/helpdata/en/97/0be13dc2fd605ae10000000a11405a/content.htm
Similar Messages
-
How to get the URL of an iView using AbstractPortalComponent
Hi All,
I need to get the URL of an iView using AbstractPortalComponent using the following code.
But i am unable to open the URL from the Browser
This is the following code snippet
public class AbsClass extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IPortalComponentURI componentURI = request.createPortalComponentURI();
componentURI.setContextName("pcd:portal_content/LOG_Viewer/LogViewer");
String URI=componentURI.toString();
response.write(URI);
The output i got from the browser is:
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
Actual Path: pcd:portal_content/LOG_Viewer/LogViewer
Output Path: /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fLOG_Viewer!2fLogViewer
Why some extra numerics are embeded in the output path when compare with the Actual Path.
Can any one send me the modified code and your suggestions, how to achieve this problem.
Regards
PhaniHi,
Now i need to get the URL of this component.
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentURI componentURI = request.createPortalComponentURi();
componentURI.setContextName("com.sap.portal.appintegrator.sap.bwc.Transaction");
String URI=componentURI.toString();
response.write(URI);
I export this component into Portal and i tested with an iView based on this par file, i got the URL in the Preview.
But when i tried to run this URL by adding the http://<IPADDRESS>:<PORTNO>+URL
I am facing one AccessDenied Exception for this Object. ( USER/GUEST)
Is there any security zone, or other Permissions Problem, if so can you plz guide me what are the settings i have to change inorder to resolve this exception
Regards
Phani -
How to get the profile object in simple java class (Property accessor)
Hi All,
Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
a.I dont have request object also to do request.resolvename.
b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
Advance Thanks.Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
getPropertyValue() {
super.getPropertyValue() // Chance of getting value set by Profile A.
// Perform logic
There is a chance that profile B getting the value set by Profile A and hence inconsistency.
How about doing this way??
Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
<attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
getPropertyValue()
//You have Profile item descriptor and also storeId property value.
// Use CustomCatalogTools.findSku();
// Use storeId, profile repository item, sku repository item to perform the logic
Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
-karthik -
I'm on Win7, 64 bit. I originally uninstalled because a program changed my new tab page to something unwanted and I had literally no way of changing it back. Now every time I reinstall it I get the "profile cannot be loaded, it may be missing or inaccesible" error, and I cannot create a new profile. Every time I try any method of opening the profile editor, I get the "profile cannot be loaded" error then too. I can't access the folder under /appdata/roaming/mozilla at all. It says it is inaccesible and access is denied, and trying to delete it tells me that I don't have permission (even though I'm the admin). No other fix I have seen has worked. Can anyone help, please?
I ran a virus scan, cleaned up a single piece of adware, restarted, and it suddenly worked. I'm not sure what exactly caused it to begin working but it did so I consider this matter closed.
-
Not able to get the profile option value
Hi,
Not able to get the profile option value after i changed the new value in the application.
I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
ThanksWhat is the application release?
Is this a custom or seeded profile option?
Can you confirm that the value got changed from the application (query the profile option and verify the value)?
Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
Thanks,
Hussein -
How to get the values of all elements and sub elements from following xml
how to get the values of all elements and sub elements from following xml...
<?xml version="1.0" encoding="UTF-8" ?>
<List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
<TransactionID>TransactionID</TransactionID>
<Match>
<Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
<List_Matched_Field>
<FSFM_Matches>
<NUMBER>NUMBER</NUMBER>
<TERROR>TERROR</TERROR>
<TU>TU</TU>
<NAMEU>NAMEU</NAMEU>
<DESCRIPT>DESCRIPT</DESCRIPT>
<KODCR>KODCR</KODCR>
<KODCN>KODCN</KODCN>
<AMR>AMR</AMR>
<ADDRESS>ADDRESS</ADDRESS>
<SD>SD</SD>
<RG>RG</RG>
<ND>ND</ND>
<VD>VD</VD>
<GR>GR</GR>
<YR>YR</YR>
<MR>MR</MR>
<CB_DATE>CB_DATE</CB_DATE>
<CE_DATE>CE_DATE</CE_DATE>
<DIRECTOR>DIRECTOR</DIRECTOR>
<FOUNDER>FOUNDER</FOUNDER>
<TERRTYPE>TERRTYPE</TERRTYPE>
</FSFM_Matches>
<OfacMatchDetails>
<UID>UID</UID>
<TITLE>TITLE</TITLE>
<SDNTYPE>SDNTYPE</SDNTYPE>
<REMARKS>REMARKS</REMARKS>
<ID_UID>ID_UID</ID_UID>
<IDTYPE>IDTYPE</IDTYPE>
<IDNUMBER>IDNUMBER</IDNUMBER>
<IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
<ISSUEDATE>ISSUEDATE</ISSUEDATE>
<EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
<ADDRESS1>ADDRESS1</ADDRESS1>
<ADDRESS2>ADDRESS2</ADDRESS2>
<ADDRESS3>ADDRESS3</ADDRESS3>
<CITY>CITY</CITY>
<STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
<POSTALCODE>POSTALCODE</POSTALCODE>
<COUNTRY>COUNTRY</COUNTRY>
</OfacMatchDetails>
</List_Matched_Field>
</Match>
</List_AML_Finacle>avoid multi post
http://forum.java.sun.com/thread.jspa?threadID=5249519 -
Query to get the data of all the columns in a table except any one column
Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
For Example:
Let us consider the EMP table.,
From this table except the column comm all the remaining columns of the table should be listed
For this we can write a query like this..
Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
Is there any other way of writing the query to get the required result..?
Thanks..Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
If you really need to list all the columns for a table because you don't want to type them, just use something like...
SQL> ed
Wrote file afiedt.buf
1 select trim(',' from sys_connect_by_path(column_name,',')) as columns
2 from (select column_name, row_number() over (order by column_id) as column_id
3 from user_tab_cols
4 where column_name not in ('COMM')
5 and table_name = 'EMP'
6 )
7 where connect_by_isleaf = 1
8 connect by column_id = prior column_id + 1
9* start with column_id = 1
SQL> /
COLUMNS
EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
SQL> -
Just get the spinning ball all the time in FCP
When I use Final Cut Pro (newest update) I get the spinning ball all the time when I do ordinary things like dobbleclicking a videoclip (DVCpro HD) or a sequence.
If I try to force quit FCP it seems like it quits, the report problem to Apple screen appears, but I have to force shutdown the whole computer, because even after I have force quit FCP, it still appears like it is running in the dock, and I am not able to start it again before I have restartet the computer.
I had this problem earlier, so yesterday I formated and reinstalled the whole system, but the problem continues. Its quite frustrating that I cant use Final Cut Pro on my new MacBook pro, 2,4GHZ, 4GB ram.Mac Spinning Wheel https://forums.adobe.com/message/5470608
-Similar in Windows https://forums.adobe.com/message/5853430
or
Creative Cloud chat support (all Creative Cloud customer service issues)
http://helpx.adobe.com/x-productkb/global/service-ccm.html -
How can i get the list of all users present in the LDAP
Hi Experts,
How can i get the list of all users present in the LDAP ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewardedWell it will depend on exactly where your UME configuration points to in the LDAP tree but yes, it is possible to get all users. Something like the following should do it:
import com.sap.security.api.*;
import com.sapportals.portal.prt.component.*;
IUserFactory iuf;
ISearchResult isr;
IUser user
String userid;
iuf = UMFactory.getUserFactory();
isr = iuf.getUniqueIDs();
you will need to iterate the ISearchResult object but you can get IUser objects by
userid = (String)isr.next();
user = iuf.getUser(userid);
then you can imanipulate / identify / or whatever you need with the user object
Haydn -
How can i get the list of all users present in the UME ?
Hi Experts,
How can i get the list of all users present in the UME ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewarded
-pankaj chouhanHi Pankaj,
find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.
Best regards,
Martin -
I downloaded mozilla firefox today and now I get the error 0x80070002 all the time, and I cannot use system restore because of it. How do I fix that so that my computer works right again. I was restoring because after I d/l your mozilla today, I lost all of my contacts in my msn email...just been tearing my hair out over this and it is soo darn frustrating. Tell me how to fix this. Marilyn
Hi,
The error is totally unrelated to Firefox. Please see [http://support.microsoft.com/kb/910336 this]. The [http://answers.microsoft.com/en-us Windows OS forum] will also be helpful.
Please also check the downloaded file by right-clicking > Properties > Digital Signatures, which should say '''Mozilla Corporation''' and '''This digital signature is ok''' in '''Details'''. You can download Firefox from a known site like e.g. https://www.mozilla.org/en-US/firefox/new/
You can try to Reset Firefox which would hopefully display the missing features, all (contacts, emails, settings etc.) of which are actually stored at the MSN site and are temporarily displayed by Firefox every time the site is accessed.
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us! -
9I: How can get the names of all objects in a package header? [RESOLVED]
Is there a way to get the names fo all objects (function, procedures) from package header
select * from user_objects only gives the the header name, I need the object in the header.
John
Message was edited by:
johnminkjanHere is an example with dbms_output package!
SQL> select owner, object_name,procedure_name from all_procedures
2 where object_name='DBMS_OUTPUT';
OWNER OBJECT_NAME PROCEDURE_NAME
SYS DBMS_OUTPUT GET_LINES
SYS DBMS_OUTPUT GET_LINE
SYS DBMS_OUTPUT NEW_LINE
SYS DBMS_OUTPUT PUT_LINE
SYS DBMS_OUTPUT PUT_LINE
SYS DBMS_OUTPUT PUT
SYS DBMS_OUTPUT PUT
SYS DBMS_OUTPUT DISABLE
SYS DBMS_OUTPUT ENABLE
9 rows selected.
"or"
SQL> desc dbms_output -
How to get the list of all process order which are settled?
Hello Friends,
Is there any standard report available to get the list of all settled Process Order or Production order?
Thanking all of you in advance.
Regards,
JitendraHi,
You can the below standardreports for knowing the list of Settled Process Orders :
1. Use Tcode : COOIS and in the selection fields provide the Process Order Type, Plant and System Status As " SETT" and execute the same . System will list all the Process Orders which were settled so far.
2. Use Tcode : CO26 with selection fields as above.
Hope this will suffice your reqt.
Regards
radhak mk -
How to get the list of all running process in java
hi all,
i want to get the list of all running processes on my system. please let me know if it is possible to do with JAVA. which class i should use?
waiting for reply
byeWrong forum. Just a hint.
-
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar
Maybe you are looking for
-
Safari and firefox wont open google
Safari and firefox will not open google, yahoo, or facebook. already tried reinstalling OS X, but it still doesnt work. This is on a stock blackbook
-
i was just wondering if i can sync my ipod from one computer to another with out losing all my data i need to know how to do so as im leaving the computer which it was first sync onto here while i travel overseas but will be taking my laptop, how can
-
HP ENVY 700-049 Won't Update to Windows 8.1 - 0xC1900101 - 0x20018
I recently purchased an HP Envy 700-049 desktop and have updated to the latest Windows 8. I have re-downloaded and installed all of the Windows 8 drivers listed on the support page. I disabled the wireless LAN in Windows (no way to do so in the BIO
-
Slow startup of Database.
Hi All, I am on Solaris 10 and Database is 11gR2. We are getting issue with starting out database. whenever we are giving startuup nomount then its taking ages to startup (Around 45 mins). Below is alert log file. Memory on server is 64 GB and databa
-
History Panel Option to ignore Layer Blend Mode Changes
Using shift+plus and minus keys to see various layer blend modes eats up my History. Not quite sure why it even records... you can't use the History Brush to "blend" previous blend modes. And it is not difficult to go back to a previous blend mode. I