Login region
Hi,everyone
If I want to add a image in login region,What should I do ?
Thanks in advance
Search the forum to find answers to frequently asked questions such as this one.
(Ensure you've updated your forum profile with a better handle than "860727".)
Similar Messages
-
CAL Instance missing all the times I login (region EU)
I've created the instance and all seemed fine.
I suspended and logged off.
I logged in again and the instance was missing. Created again, logged out automatically by the system after some time. Logged again and the instance is missing again !!!
Any idea why ?
Much appreciated.
WalterHi,
the solution is
SAP Business Warehouse 7.4 SP5 incl. SAP Business Objects BI 4.1 SP2 on SAP HANA 1.0 SP7
It happened today but also 3 days. ago.
I just noticed because I've logged again and I've found no instance created few days ago.
How can I reply in private and send my ID ?
Regards
W. -
Tabs and Regions to match the Login, Alternative 1 template in Theme 2.
All,
In Theme 2 - Blue and Tan, there is a Template called 'Login, Alternative 2'. I would like to use this Template. I was wondering are there any Report Region and Tab Templates that have this same look to them. In particular the blue background with the white lettering. I used the Report Region templates but they have a different color background and blue letters. I would also like to have the tabs have this same look. Is this available anywhere?
Thanks,
KimEarl,
To answer your question, I was wondering if there was a theme built around this template. It has square corners with white writing on a blue title for the region. What I did was copy that template and rename it so I was able to reuse my new template for other regions. But now the region template that I created does not look right with the tabs that went with Theme 2. I looked at the style sheets but could not figure out what needed changing.
For instance, I use Theme 2 which has blue and tan tabs and labels for the text items being tan also. It also has curved edges to the tabs as opposed to the straight edges that were on the Login, Alternative 2 region. Would I have to know how to design my own tabs to create tabs that have that same look to them. I was wondering if there is a Theme that someone may have created to go with that Login Region that I used?
I think this really has more to do with the images that were used to make the tabs than with the style sheets. But thanks for giving it a try. It reassures me that I was on the right track by looking at the style sheets.
Kim -
How to control the size and position of the region on a page?
I am trying to create welcome page for my client. I need to create a banner and place the login region in the cente of the page with a fixed width and height. How can I do this.
Thanks.
SatyaHi,
Edit your region and go to region header of your region
and type this
region header
<table width ="100px" height = "100px">
<tr>
<td>
region footer
</td>
</tr>
</table>
you can customize your region position in this way...just use table tag attributes,,i hav egiven example of only height and width but you can use all the table attributes to customize your region like background color,back ground image,alignment etc..
hope this helps you,
Regards,
Jitendra -
Java API: repository.login error
I MDM guru,
i habe the "little" problem with JAVA API SP2.
I have do the followings step:
- download last JAVA API from service.sap.com/swdc:
Support Packages and Patches->SAP NetWeaver->SAP MDM->SAP MDM 5.5->JAVA API
- download "MDM Java API Samples Framework"
- downloadn MDM_API_SAMPLES repository (import ad load it in the MDM server)
When run Application.java (with program = KeyMappingProgram.RETRIEVE) when exextute this line
repository.login(region, user, password);
i have this error
com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC
at com.sap.mdm.commands.AuthenticateRepositorySessionCommand.execute(AuthenticateRepositorySessionCommand.java:94)
at com.sap.nw.mdm.rig.server.SessionImpl.authenticateRepositorySession(SessionImpl.java:136)
at com.sap.nw.mdm.rig.server.SessionImpl.<init>(SessionImpl.java:37)
at com.sap.nw.mdm.rig.server.RepositoryImpl.login(RepositoryImpl.java:61)
at com.sap.nw.mdm.rig.Application.start(Application.java:208)
at com.sap.nw.mdm.rig.Application.main(Application.java:157)
Caused by: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC
at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:112)
at com.sap.mdm.commands.AuthenticateRepositorySessionCommand.execute(AuthenticateRepositorySessionCommand.java:88)
... 5 more
com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC
at com.sap.mdm.commands.AuthenticateUserSessionCommand.execute(AuthenticateUserSessionCommand.java:84)
at com.sap.nw.mdm.rig.server.SessionImpl.authenticateUserSession(SessionImpl.java:87)
at com.sap.nw.mdm.rig.server.SessionImpl.<init>(SessionImpl.java:41)
at com.sap.nw.mdm.rig.server.RepositoryImpl.login(RepositoryImpl.java:61)
at com.sap.nw.mdm.rig.Application.start(Application.java:208)
at com.sap.nw.mdm.rig.Application.main(Application.java:157)
Caused by: com.sap.mdm.internal.protocol.manual.ServerException: Dati non convalidati da verifica CRC
at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:112)
at com.sap.mdm.commands.AuthenticateUserSessionCommand.execute(AuthenticateUserSessionCommand.java:79)
... 5 more
Where is the problem?
This is my configuration:
MDM Server 5.5
- mds Version 5.5.61.48 Built on 2008-Jan-12
Client Interface Version 5.5.61.12
Console Interface Version 5.5.61.06
Web Interface Version 5.5.61.12
mdm-core.jar:
Build Version 5.5.62.83
Public Interface Version 5.5.62.00 [Interface CRC=0xab59b8dc]
Console Interface Version 5.5.62.01 [Interface CRC=0xf3c104b6]
Web Interface Version 5.5.62.06 [Interface CRC=0x86541e49]well i got this error while creating a repository session. but the crc is for version mismatch as said in the previous post.
Check the following wiki for details on the error
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=4119
I got this error when i moved my EP Server to MDM Java 602 and my MDM server was at 5.5
Then i moved by EP server back to 5.5 and resolved the issue.
I hope this will help. -
Getting errors when trying to execute CRUD programs
Hi All
I am trying to execute one of the CRUD programs for creating , updatying or deleting data in MDM server and a m getting a few errors .Could anybody advise.
Created on Jun 6, 2007
package com.sap.nw.mdm.rig;
import com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram;
import com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram;
import com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram;
import com.sap.nw.mdm.rig.programs.data.search.SearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram;
import com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram;
import com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram;
import com.sap.mdm.data.RegionProperties;
import com.sap.nw.mdm.rig.repository.Repository;
import com.sap.nw.mdm.rig.server.Server;
This class is the starting point to execute all sample programs.
To see a description of the various programs you can execute, please have a look at the
documentation for the following classes. There are static variables in each of these
classes that point to the various programs that can be executed with a description of
what the program does.
<ul>
<li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
</ul>
@author Richard LeBlanc
public class Application {
private Application() {
Starts the application and executes a program
@param args - not required
static public void main(String[] args) {
System.out.println("876876");
Application app = new Application();
System.out.println("11111");
Program program = null;
System.out.println("22222");
Simply uncomment the line that contains the program you wish to execute and run this class.
Blob Programs
// program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
// program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
Checkout/Checkin Data Programs
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
// program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
Create Read Update Delete (CRUD) Data Programs
// program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
program = CRUDDataProgram.CRUD_MAIN_TABLE;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
// program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
// program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
System.out.println("333333");
Bulk Create Read Update Delete (CRUD) data programs
(many records at once)
// program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
KeyMapping Programs
// program = KeyMappingProgram.RETRIEVE;
Search Programs
// program = SearchProgram.DRILL_DOWN_SEARCH;
// program = SearchProgram.KEYWORD;
// program = SearchProgram.MASK;
// program = SearchProgram.NAMED_SEARCH;
// program = SearchProgram.QUALIFIER;
Attribute Search Programs
// program = AttributeSearchProgram.COUPLED_NUMERIC;
// program = AttributeSearchProgram.NUMERIC;
// program = AttributeSearchProgram.TEXT;
Field Search Programs
// program = FieldSearchProgram.BOOLEAN;
// program = FieldSearchProgram.CURRENCY;
// program = FieldSearchProgram.LITERAL_DATE;
// program = FieldSearchProgram.LOOKUP;
// program = FieldSearchProgram.TEXT;
Syndication Programs
// program = SyndicationProgram.SYNDICATE_PORT;
Workflow Programs
// program = WorkflowProgram.EXECUTE;
//TODO enter MDS name
String mdsName = "172.18.139.200"; //the name of the Master Data Server
String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
//the repository otherwise change it to reflect the name
//of your repository
String regionName = "English [US]";
String userName = "Admin"; //there is an admin user with no password in the provided repository
String password = ""; //there is an admin user with no password in the provided repository
System.out.println("67r86587");
app.start(mdsName, repositoryName, regionName, userName, password, program);
Establishes a connection to the given server and logs in to the given repository
with the given logon information and executes the given program
private void start(String serverName, String repositoryName, String regionName,
String user, String password, Program program) {
//Create an instance of the MDS
Server server = Server.getInstance(serverName);
System.out.println("444444");
//Get the list of running repositories from the server
Repository[] repositories = server.getRepositories();
System.out.println("5555");
Repository repository = null;
//Go through the list of repositories and see if any match the
//given repository name
for(int i=0, j=repositories.length; i<j; i++){
System.out.println("666666bbye");
if(repositories<i>.getIdentifier().getName().equals(repositoryName)) {
System.out.println(" hello" +repositoryName);
repository = repositories<i>;
System.out.println(" hi" + repository);
//Get the list of regions for the repository
RegionProperties[] regions = repository.getRegions();
RegionProperties region = null;
//Go through the list of regions and see if any match the given
//repository name
for(int i=0, j=regions.length; i<j; i++){
System.out.println(" hello");
if(regions<i>.getName().equals(regionName)) {
region = regions<i>;
System.out.println(" 99999" +region);
//Login to the repository as you would using the Data Manager
//This creates a user and repository session that are available using
//repository.getSession()
repository.login(region, user, password);
//execute the program from the list above
program.execute(repository);
System.out.println(" finally");
//destroy the session (destroys the repository and user sessions)
repository.getSession().destroy();
//close the connection to the MDS
repository.getServer().closeConnection();
I am getting the following errors:
Exception in thread "main" java.lang.IllegalArgumentException: Table with Code 'Products' does not exist in the repository 'GDS_1'
at com.sap.mdm.internal.schema.RepositorySchemaImpl.getTableSchema(RepositorySchemaImpl.java:136)
at com.sap.nw.mdm.rig.programs.data.crud.CRUDMainTableRecordProgram.execute(CRUDMainTableRecordProgram.java:33)
at com.sap.nw.mdm.rig.Application.start(Application.java:211)
at com.sap.nw.mdm.rig.Application.main(Application.java:157)Hi Stephen,
I assume that a super admin user does not get these error messages, right? If so, this behaviour might come due to missing permissions on PCD objects for the user rubinmd. Please apply note 792370 which explains how to set end user permission on the pcd folder com.sap.ip.collaboration/Rooms
Kind regards,
Roland -
Authenticating a user using AJAX
Hi,
I'm building a login region and would like to build in the authentication process so that a new developer in a team can simply create on of our apps and just create a page that uses this region plugin.
Is this possible to do in a single plugin? Am I right in thinking that to authenticate a user you have to define a Authentication function in the authentication scheme and then call something like apex_authentication.login(
p_username => :P101_USERNAME,
p_password => :P101_PASSWORD );
Or should I rather create two plugins one Region and one Authentication Plugin.
Does anyone know of any good examples of how to build an authentication plugin or how to use the AJAX function that you can define in the Authentication plugin?So if you need to use apex_plugin.get_ajax_identifier in the render function to hook into the ajax function from your javascript. How would you hook into the ajax function of a authentication plugin if the authentication plugin does render any content?
Edited by: Alistair Laing on Oct 6, 2012 7:40 AM -
Hi.......
Switching from one theme to another theme is not working in apex 4.2..............
Thanx in advanceHi!
Same problem.
Upgraded from 4.1 -> 4.2.
Change theme from slightly modified Green theme (in mine case 101 is number and original was 11, One level Tabs) to Theme 25 Blue Responsive.
Login page for instance doesn have "Login Region" for instance (not in LOV). And all pages are softly said strange.
All have DISPLAY problem described on "http://1.bp.blogspot.com/-GzseTk6Lpes/UHvJkg9GulI/AAAAAAAAHRQ/Wt406GGZADQ/s640/Screen+Shot+2012-10-15+at+10.25.29.png", but without many parts that Dmitri describe.
Rg
Damir -
"Add to bookmarks - button" for application with application alias
How to make "add to bookmarks - button" to login page of the application with the application alias?
The idea is to ensure that end-users are storing the application alias to bookmarks rather than the direct link to application id which might change.
rgrds PaavoJari, here are some of my trials hosted now in apex.oracle.com. All url's to be bookmarked are "hardcoded" in to the login page html-header's javascript function.
Sample db application - url with workspace name.
http://apex.oracle.com/pls/apex/f?p=COM_ORACLE_APEX_PRODUCT_PORTAL:LOGIN:0&c=PAAVO_POC
- the LOGIN alias defaults to login page
- the session id is = 0 as recommended here: http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#HTMDB03020
- workspace name is actually Internal in the administration so omitting workspace name leads to error " Error The application alias "COM_ORACLE_APEX_PRODUCT_PORTAL" can not be converted to a unique application ID. ", perhaps other workspaces have also the same sample app alias
- so used the PAAVO_POC as workspace name (got it during registration)
- LOGIN page HTML-header is:
<script type="text/javascript">
function bookmark()
window.external.AddFavorite("http://apex.oracle.com/pls/apex/f?p=COM_ORACLE_APEX_PRODUCT_PORTAL:LOGIN:0&c=PAAVO_POC","COM_ORACLE_APEX_PRODUCT_PORTAL in ws paavo_poc");
</script>- LOGIN page HTML Body attribute is:
<form>
<input type="button" onclick="bookmark()" value="Bookmark me">
</form>- tried to also add "Click here to bookmark me" button in the login region with the following code (couldn't figure out how to do button for this via apex developer)
<form>
<input type="button" onclick="bookmark()" value="Click here to bookmark me">
</form>- login doesn't work anymore
Copy of the same sample application but with more different / more unique alias and without the "Click here to bookmark me" button in the Login-region.
http://apex.oracle.com/pls/apex/f?p=paavos_product_portal:LOGIN:0&c=PAAVO_POC
- the bookmark could be stored without workspace name, but it might break if the same app. alias name appears in some other workspace http://apex.oracle.com/pls/apex/f?p=paavos_product_portal:LOGIN:0
- login works now because no hassling with the button-code in the Login-region :)
Then fresh new application with the following URL's and with the same symptoms.
http://apex.oracle.com/pls/apex/f?p=POCTEST_NO_B_BUTTON:LOGIN:0&c=PAAVO_POC
http://apex.oracle.com/pls/apex/f?p=poctest:LOGIN:0&c=PAAVO_POC
- Enter with "demo" and "ApexIsGood". Please don't kill my workspace with lots of 'fishes' :).
It would be good to have the URL constructed dynamically e.g. fetching the application_alias_name and the correct workspace to be used.
In perfect world it would also be good to have feature in for redirecting the user from old version to production 'application alias' with dynamic action requesting the user to update his/her bookmark.
But as said I am bit stuck ..
rgrds Paavo
Edited by: paavo on Apr 7, 2012 3:20 PM
Edited by: paavo on Apr 10, 2012 4:05 PM -
BRANCH_TO_PAGE_ACCEPT
Please let me know where this is documented.
Thanks
TrevorDietmar
I have long since killed my attempts at getting this to work. However, I have reproduced the issue in a minimalist fashion thusly:
1. create new application with one blank page, no authentication and theme 3. Logging in shows teh user "ANONYMOUS"
2. create a new authentication scheme from scratch with invalid session target p101 and custom function to authenticate "return test_authorization;" as
create or replace function test_authorization
(p_username in varchar2, p_password in varchar2)
return boolean
as
begin
return true;
end;
make this current
3. on p101, create item P101_ID in the login region with sequence 5
delete process get username cookie
change p_username and p_password in process login to nvl(:P101_ID,user)
4. create html file in o/s:
<HTML>
<BODY>
startup 104
<p>
startup 104
<p>
</BODY>
</HTML>
The first link happily populates P101_ID; thence hitting login invokes Page1 with PASSDIN showing as the user. No worries. Expected.
I aleso expected the second link to do the same in one hit. But it just displays page 101 with 3 blank fields. Why?
~trevor -
Problem with comparing text item with hidden item
Hi all,
I have two items, one text field which has a user name and other item which is hidden which also has a username input from a file.
I want to compare these two items.
But when both items are text fileds am able to compare, but when one is made hidden unable to compare.
Please help on this......
thanks,
SriniHi Srini,
As long as you understand that the user can change the value of ANY field, even it is hidden, then I would suggest something like:
1 - Hide your existing Login button. On the button definition, in "Button Display Attributes" add the following into the Attributes setting:
style="display:none"2 - In the Login region's Region Footer, create a new button:
<input type="button" class="t12Button" value="Login" onclick="javascript:checkNames();">(Note that I have used a class name of "t12Button" - change this to match your current theme)
3 - Underneath that, add in your javascript:
<script type="text/javascript">
function checkNames()
if ($v('field1name') == $v('field2name'))
doSubmit('loginbuttonname');
</script>Then, when the user clicks the new Login button, this triggers your javascript. This checks that the values for field1name and field2name match. If they do, if fires the normal submit for the page (the same as if you clicked the original Login button)
Andy -
I have a login region on page 1. User authenticates and automatically it goes to page 2. User is logged in and can toggle between the pages. Only if I go back to page 1 all user info is removed from the session (user is logged out) but I cannot identify the reason why.
Debugging shows that a new session is created? Why?
0.00000 0.07800 S H O W: application="113" page="1" workspace="" request="" session="90006395894517" 3
0.07800 0.00000 Application 113, Authentication: CUSTOM2, Page Template: 1938322303402015 3
0.07800 0.01500 ...Determine if user "ADMIN" workspace "1282821338772034" can develop application "113" in workspace "1282821338772034" 3
0.09300 0.01600 ...Creating new session, session ID="4489039759985203" 3
0.10900 0.00000 Session created: 4489039759985203 user:nobody 3
0.10900 - ...New Instance Detected - 3 -
Edited by: trafoc on 3-jun-2011 16:19Now I have found it. It is the Session Not Valid Page of the Authentication Scheme that was causing this.
-
I have tried several times to login in to regions with no luck. I can login in to all of my other secure sites with no trouble Any suggestions would be appreciated.
I have tried accept all cookies also. Thanks in advance.I go to regions.com, it asks me what state under LOGIN: I usually select the state and go the login page where I put my information. I have done this with my cell for 3 years and have never had any trouble. I'm not doing anything different. Except that I am using an Iphone.
-
LDAP Login Problems - Region Issue
Hi,
I am using LDAP authentication with the following LDAP DN string:
cn=%LDAP_USER%,l=emea,dc=oracle,dc=com
This is working fine (for EMEA) but US employees are receiving error messages. I know this needs to be set to l=amer but then EMEA employess will recieve an error. Is there a way to set this value using a variable?
Thanks for any help.
Regards,
Richard.Hi,
What if you want to include global employees and not only regions?
Will you please specify the options available or where can I find more information about the ldap options?
Thanks
Message was edited by:
notepad -
Why is it that when I login with my Game centre account, it shows the wrong country?
My country/region is set to Singapore but whenever I login to my game centre account for games, it shows the china flag and words come out in Chinese. How can I change this?
Do the songs have an iCloud icon?
If so, the songs with an iCloud icon were purchased from the iTunes Store and have not been downloaded. You must select on the iCloud icon for a song to download it.
Maybe you are looking for
-
I just upgraded to the new iTunes and now my playlists are jumbled when I print them.
I just up graded to the new iTunes and now when I prints playlists, they are jumbled. It's not my printer...........only happens on iTunes.
-
Grey screen is displayed when loading pdf file in Adobe 11
Hi, PDF file is not loaded in the adobe reader 11. Some time I am getting the grey screen instead of the pdf file. Some time my application is displaying the message saying that It is stopped working. its happening sporadically. But if I downgrade th
-
How to Get Contribute CS4 to Update Available Styles when CSS is Updated
I am using a style sheet on my website. I recently updated the style sheet, adding a new style, in Dreamweaver. When I go into Contribute, the style is not showing up. How can I force Contribute to get the updated data from the latest version of t
-
Itunes 11 Book author and Album artist sort problems
(I've changed the name here, to protect the innocent and avoid comments about my taste. I shall call him 'Fred Anydude' ) I have an ebook by 'Fred Anydude'. He appears in book view under the [Authors section] in the right place i.e. with those Author
-
Problems w/ PDF document in autoplay slideshow
I've created an autoplay slideshow with iDVD. Using MS Word, I then created a "credits" page, which I converted to PDF and inserted into my slideshow. This worked okay, except that the background, which is white on the original PDF, has changed to