How To use APEX logout inside the Portal
I am not using APEX at the moment, but I would like to use it. At the moment the only thing I want out of APEX is to give me the ability to log out (users) completely from the portal ( all sessions killed, cleared cookies etc, such that user after logging out of portal even if he tries to copy and paste URL ( of the portal page) can not log back in to the portal (of course on the same browser), rather gets redirected to SSO login page, where once again he is challenged for his credentials.
Based on the little knowledge that I have about APEX. Can I achieve this in the portal. I have developed current portal using Portal Builder (IDE), using OID(LDAP) method of accomplishing SSO. I understand APEX is also another
web based IDE, uses it's own way of implementing SSO. Will there be any difference between portal users and APEX users?
My questions are:
1. Do I have to rewrite the portal page for users, if I use APEX?
2. If I leave my portal page the way it is, How can I accomplish users logging out?
3. Does the login also have to be done by APEX, if I choose to do logout by APEX?
4. How can I integrate APEX with existing portal page? I am not writing any APEX web applications. Just wanna use it for logging out.
HAPPY NEW YEAR (2007) to all of the Portal, APEX gurus.
I greatly appreciate your help.
Very Best Regards,
-Dhiren.
No ideas regarding this topic?
Similar Messages
-
How to use multi queries inside the RTF file
Hi all,
I develope a data source in report developer 10g, and use it to create the RTF files... I have some files wich contains more than 1 query. how can I refer to the fileds in the other queries in side the RTF file, because it's bring the filed from the first query by default??
ThanX in advanceThankX DD
But that wont work for my case. the problem that I have actually is in RTF.
for example:
I have 3 qeuries. A,B & C. A: contains the employee data. B: his Earnings and C: his Deductions.
in the RTF file it shows me only A contents. wich means it's not entring B & C loops, notice I add <?for-each:B_GROUP_NAME?> and same for C also.
all my other reports wich have single qeury worked fine.
Regards to all,
Message was edited by:
Adam Ali -
How to use multiple statements inside the "THEN" block of CASE statement?
Below is the code:
SET @strTempString = case @strKeyMode
WHEN 'AUTO/CYCLE'
THEN @strRefID + '|' + @strRetID
WHEN 'CYCLE'
THEN @strRefID + '|' + @strRetID
WHEN 'COMMERCIAL'
THEN @strRefID + '|' + @strRetID
WHEN 'ISNAP'
THEN set @strFName = ltrim(rtrim((Left(dbo.CleanTheStringAdv(@strFName + ' ', 2) + ' ', 2))))
'' + @strRefID + '|' + @strLName + '|' + @strFName + '|' + @strZIPorPolType
WHEN 'ASNAP'
THEN @strRefID + '|' + @strRetID
WHEN 'MOAT'
THEN @strRefID + '|' + @strRetID
else '0'
end
The first 3 conditions are understandable. How to use multiple statements in 4th case?
Here I first want to set the value as:
set @strFName = ltrim(rtrim((Left(dbo.CleanTheStringAdv(@strFName + ' ', 2) + ' ', 2))))
and then return the string '' + @strRefID + '|' + @strLName + '|' + @strFName + '|' + @strZIPorPolType to @strTempString.
Please help me remove the syntax errors.
Thanks in advance.Try below SQL
DECLARE @strKeyMode varchar(20) = 'ISNAP'
DECLARE @SQL VARCHAR(MAX)
DECLARE @strRefID int=1
DECLARE @strRetID INT=2
--FIRST WAY
IF @strKeyMode ='AUTO/CYCLE'
SELECT CAST(@strRefID as varchar(10))
ELSE IF @strKeyMode ='CYCLE'
SELECT @sql = CAST(@strRefID as varchar(10)) + '|' + CAST(@strRetID as varchar(10))
ELSE IF @strKeyMode='ISNAP'
SELECT @sql = CAST(@strRefID as varchar(10)) + '|' + CAST(@strRetID as varchar(10))+'test'+'abc'
ELSE
SELECT @SQL='ABC'
print @sql
----SECOND WAY
SELECT @SQL = CASE @strKeyMode
WHEN 'AUTO/CYCLE' THEN CAST(@strRefID as varchar(10))
WHEN 'CYCLE' THEN CAST(@strRefID as varchar(10)) + '|' + CAST(@strRetID as varchar(10))
WHEN 'ISNAP' THEN CAST(@strRefID as varchar(10)) + '|' + CAST(@strRetID as varchar(10))+'test'+'abc'
ELSE 'No Record'
END
PRINT (@SQL)
--Prashanth -
How to retrieve all users in the portal with UME API
Hi everybody,
I would like to know how to retrieve all the users from a portal, which uses LDAP as a source (there are users created in the portal as well)
My code snippet is :
IUserFactory userFactory = UMFactory.getUserFactory();
UserSearchFilter searchFilter = userFactory.getUserSearchFilter();
searchFilter.setDisplayName("*", ISearchAttribute.LIKE_OPERATOR, false);
ISearchResult searchResult = userFactory.searchUsers(searchFilter);
My problem is that with the code above, only the users created in the portal are displayed, and no LDAP users.
Does someone know how to retrieve all the users whatever is the source?
Regards
Renaudprakash's code should work.
however, mine code below doesn't user a search filter. it retrieves everyuser including users like indexadmin etc. Note:
result.next().toString();
returns a weird uniqueID used in the portal world.
getUniqueName()
gives your the usernames (sAMAccountName in Microsoft AD) people use to logon to the portal.
try {
IUserFactory uf = UMFactory.getUserFactory();
ISearchResult result = uf.getUniqueIDs();
while (result.hasNext()) {
String uniqueid = result.next().toString();
IUser user = uf.getUser(uniqueid);
String userid = user.getUniqueName();
} catch(Exception e) {
//systemout -
How to use Java code inside WebDynpro-ABAP
Hi,
How to use Java code inside WebDynpro-ABAP.
Could any one provide sample code.
Cheers,
SamHi Sam,
We can't Bring Java Inside the ABAP. Both are running in different Environments.
and also ABAP Codes are runs on BASIS.
-Basis is a middleware between ABAP codes and Ur OS.
-Contains set of programs to load,RUN,intepret the ABAP program..
So Both are Different.
Regards,
Ramganesan K. -
How to add a role to the Portal Favorites
Hello gurus,
I have a role to add to the Portal Favorites to avoid drilling down to many levels, does anyone know how to add a role to the Portal Favorites?
Thanks in advance for your response.
Regards,
Niki Nguyen
Message was edited by:
Niki Nguyen
Message was edited by:
Niki NguyenNiki,
The documentation says that
The Portal Favorites iView contains a freely definable list of links for direct access to items that you use regularly. This can include the following:
● Portal pages and iViews that run as full-page applications
● Documents, folders, and other items in KM repositories
● External items, such as Internet pages
So we can't do it for Roles.
For detailed information see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/d609e5803111d5992f00508b6b8b11/frameset.htm">Portal Favorites</a>
Mr.Chowdary -
How to add Navigation Level to the Portal?
Hi All,
How to add Navigation Level to the Portal?
for example:
1st Level is the Role
2nd Level is Worksets/Folders
I want that the 3rd Level will contain more Worksets/Folders and will be under the 2nd level and not in the "Detailed Navigation".
I tried to change the "Number of display levels" in the framework page but it didn't help.
Attached a picture with the required result (of course, for my roles)
http://img457.imageshack.us/my.php?image=toplevelnavigation7xy.jpg
Thanks, OmriHi Omri,
in fact, almost one year ago we did something similar on a project basis, but as already stated here, this was done by modification. What we did was providing a dropdown box within the masthead, containing the first level, and the second and third level now have been displayed where normally the first and second level are. That was a ten days solutions, some very fine granulated work. But nice
Anyhow, nowadays this can be more easy using the LightFrameworkPage (if that's OK for your purpose) and the Navigation Tag Library, see http://help.sap.com/saphelp_nw04/helpdata/en/42/f35146a7203255e10000000a1553f7/frameset.htm for details.
Hope it helps
Detlev -
How to use Domino LDAP in WebLogic Portal 8.1?
Hi, all
I'm trying to solve the problem of how to use Domino LDAP in WebLogic Portal 8.1. Anybody who have this experience please help me.
Best Regards,
SeanHi,
I just spoke to BEA and domino LDAP not supported although they gave me these
LDAP filters that might help -
http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wls/S-09460.htm
Sean Lin <[email protected]> wrote:
Hi, all
I'm trying to solve the problem of how to use Domino LDAP in WebLogic
Portal 8.1. Anybody who have this experience please help me.
Best Regards,
Sean -
Hi How do we create Methods inside the Business objects of Z
Hi Abapers,
How do we create Methods inside the Business objects (z objects) and how *** an import parameter or export parameter to be defined for the new Methods.
Regards
Bhaskar Rao.MHi Bhaskar,
that ´s not difficult.
Open your Bus.Obj. in SWO1 with CHANGE/EDIT
Click on the "Methods" header line and then use the button for "Create".
If you want to add the method on basis of a function module, choose next in the next pop up. Then the system will offer you the ex/import parameter from the function module. So this is a really simple way.
If you don´t have a FM, it is a little bit more difficult.
Choose No on the quetion about a FM, fill in the next pop up methode name (no blanks allowed).
Dialogue is for user related method (call screen...) synchronous for methods which have to give back a result directly in to the workflow.
After completing the screen the method will be displayed as new method at the end of method list. Now add parameters (first click on the method name, then choose parameter button, same functionality to add program to the method).
Programm:
Code snip:
BEGIN_METHOD ZWFCHECKMIRO CHANGING CONTAINER.
DATA:
ZBELNR TYPE RBKP-BELNR,
ZGJAHR TYPE RBKP-GJAHR,
RESULT TYPE HRP1001-ISTAT,
BELNR TYPE BKPF-BELNR,
GJAHR TYPE BKPF-GJAHR,
BUKRS TYPE BKPF-BUKRS.
to import parameter
SWC_GET_ELEMENT CONTAINER 'Zbelnr' ZBELNR.
SWC_GET_ELEMENT CONTAINER 'Zgjahr' ZGJAHR.
*(or SWC_GET_TABLE)
here add the functionality of your method!
to export parameter
SWC_SET_ELEMENT CONTAINER 'Result' RESULT.
SWC_SET_ELEMENT CONTAINER 'Belnr' BELNR.
*(or SWC_SET_TABLE)
!!! Important: naming convention!!! Use same writing of parameter names in
PARAM area (button PARAMETER) and here in code.
To use your method, change it to implemented after adding your code.
-> Edit -> Change release status -> object type component -> into implemented
(Sorry , have a german screen here, possibly terms are a little bit different.
Hope this helps a little bit.!
regards
Dirk -
How can I publish artwork inside the artboard only?
How can I publish artwork inside the artboard only?
As I don't want to show anything outside the artboard when I publish it.
Also, how can I make the published swf file fit to the artboard size? As I don't want to show the white area outside the artboard.
Hope someone could help! Many thanks!One thing I have noticed is that when you embed the .swf, if you don't designate the widht and height, sometimes you will see some of the extra outside the artboard. For example:
I uploaded my published files to www.website.com/flash and my .swf is at www.website.com/flash/Main.swf. If I just use that url I will see the extra from Main.swf. However, if I create a page where I embed the .swf, like www.website.com/main.html, I no longer see it. -
How do we trap exception inside the function module?
How do we trap exception inside the function module?
Use ABAP Help - CATCH, RAISE for starters. Or take a look at an existing function module, for example.
-
How to delete a Page in the portal
Hello gurus,
Could you please tell me how to delete a Page in the portal?
Thanks in advance for any helps.
Regards,
Niki NguyenI've tried that procedure, but it keeps giving me a message below, so it won't allow me to delete the Page, what is the next step? Please advice.
MESSAGE:
An error occurred. Objects could not be deleted.
Objects in the selected folder or object are currently locked
Thanks in advance for any helps.
Regards,
Niki -
Any one knows how to use Axis Framework in the SOAP Adapter Modules
How to use Axis Framework in the SOAP Adapter?
How to add custom handler modules?
http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
I went through the above link on help.sap.com. But still could not create a working example.
I have created a wc on some 3ed party app server using apaches axis. I am trying to call that web service from XI using SOAP receiver? I need to add some security related headers to the soap message, SO I am trying to use a handler. I want to know how to configure this handler in SOAP axis adapter module.
Thank you
MoniRavi ,
I am trying exactly the same. Hers is the scenario.
ABAP Proxy --> PI (7.0) SP 12 ---> WebService.
Since This is service is secured, means it is using OASIS web servie securyty user name token,
I am trying to use AXIS adapter. and I want to configure HandlerBean in which I want to use apache wss4j api to add the userNameToken. I am looking for some documentation on this.
I need to add SOAP action element too as I can not configure this one on the communication channel.
Thanks for any inputs in this regard.
Moni -
How to use bind variables in the following query
CREATE OR REPLACE PROCEDURE MMDB.test IS
sel_qtn VARCHAR2 (10);
CURSOR PT_QUANTITY IS select * from mmdb.product_tree WHERE QUANTITY_CHECK ='E'
AND run_id = 100
a PT_QUANTITY%ROWTYPE;
BEGIN
FOR i IN PT_QUANTITY
loop
sel_qtn := i.quanttity-1;
While sel_qtn>=1
loop
insert into mmdb.product_tree (BILLING_ACCOUNT_NO ,S_CODE) values (i.BILLING_ACCOUNT_NO ,i.S_CODE||'E');
sel_qtn :=sel_qtn -1;
End loop;
commit;
end;Don't duplicate threads: How to use bind variables in the following query
-
How to use SQL functions in the queries
hey guys i wanna know how to use SQL functions in the queries is it possible or not .
Hi,
Wat exactly that set values are?
those from sql query?
How to use count():
The COUNT() function returns the number of rows that matches a specified criteria.
SQL COUNT(column_name) Syntax
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column:
SELECT COUNT(column_name) FROM table_name
SQL COUNT(*) Syntax
The COUNT(*) function returns the number of records in a table:
SELECT COUNT(*) FROM table_name
SQL COUNT(DISTINCT column_name) Syntax
The COUNT(DISTINCT column_name) function returns the number of distinct values of the specified column:
SELECT COUNT(DISTINCT column_name) FROM table_name
The IN function helps reduce the need to use multiple OR conditions.
The syntax for the IN function is:
SELECT columns
FROM tables
WHERE column1 in (value1, value2, .... value_n);
Maybe you are looking for
-
My wife and I are getting each other's text messages. How do I turn that off so I get mine and she gets hers?
-
Hi all! this weekend my AirPort started having problems. The AirPort icon suddenly showed that the AirPort status was off and, obviously, internet connectivity went down. Following is a list of troubleshooting steps I already took but without any suc
-
I have a new mac mini and want to migrate files from my old mac mini. Do I need two monitors to run each mini through the process? As far as I can tell, I can only use Migration Assistant at this time. Any thoughts on how to get this accomplished wit
-
I've written a small app using AppleScript and Growl. It puts the lyrics of the current iTunes' selected or playing song in a (Growl)window. Both Growl and my app are free. My point is, if you like the app as it is great. Keep it and have fun. Howeve
-
Validator is called many times
I defined an validator for my inputdate. I use it in a popup window. If I get an error first time it works fine, but if I close the popup, reopen it and get an error again my validator is called twice. if I repeat this sequence 10 times, my validator