Create community and pages with my application
Hello,
Can I automatically create community and pages with my application?
Where can I find an example to create an java application to automatically create community, pages and Portel using an XML file that describes the structure?
Hello,
Can I automatically create community and pages with my application?
Where can I find an example to create an java application to automatically create community, pages and Portel using an XML file that describes the structure?
Similar Messages
-
What is the best qay to create a simple page with three textbox fields
Hi
I try to create a Portal page for Password change.
At first look, I taught that to create that basic page will be easy as one, two , three.
Unfortunately not.
I need to create three textbox and include pl/sql validation agains our BD.
I usually work with a form base on procedure whose contain htp.package procedure
to create a portal page when that form is called. (Base on the way where Portal manage his own change password page.)
I try to get a better design of the page.
Where I get all the information about that package ? I want to center the page.
Oh yeah, I'm a newbie in html.
Any ideas will be appreciate
Thank
RegisHi,
You could create a FORM with non base table fields. You could then validate the values on SUBMIT (say through a button) and then do whatever processing,redirection needs to be done.
Or
you could create a DYNAMIC PAGE with all html fields and proper alignments etc and on form submit do the relevant processing.
Thanks,
Anu -
About creating an AJAX page with DML procedures using dynamic actions
About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
I want to share my experience, creating AJAX procedures in APEX 4.0.
LIMITATIONS
• How Can I Hide UPDATE button while I press NEW button. ??
• How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
• How can I avoid multiple Inserts or Updates. ??
Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
1) Create a blank page
2) Add a Report Region for departments (It shows the columns deptno, dname and loc).
3) Add an HTML Region and create the elements to edit a Department.
a. P1_DEPTNO (Hidden to store PK)
b. P1_DNAME (Text Field)
c. P1_LOC (Text Field)
4) You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
5) Open Page Attributes and in the HTML Header Section include the following code.
<script>
function doSelect(pId){
$x_Value(‘P1_DEPTNO’,pId);
$x_Value(‘P1_ACTION’,’SELECT’);
</script>
6) Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
7) Create the following Buttons in the Form Region.
CANCEL Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
NEW Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
SAVE Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
CREATE Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
8) Create the following Dynamic Action to Select a Department
Name: Select Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: SELECT
Action: Execute PL/SQL Code
PL/SQL Code:
SELECT dname, loc
INTO :P1_DNAME, :P1_LOC
FROM dept
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: (none) (leave it blank)
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: (none) (leave it blank)
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
9) Create the following Dynamic Action to Update a Department
Name: Update Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: CREATE
Action: Execute PL/SQL Code
PL/SQL Code:
UPDATE dept SET
dname = :P1_DNAME,
loc = :P1_LOC
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
Action: Set Value
Unmark ‘Fire on page load’ and ‘Stop execution on error’
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: P1_DNAME
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: P1_LOC
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
Finally to refresh the Departments report, add the following true action at the end
Action: Refresh
Affected Elements: Region Departments
10) Create the following Dynamic Action to Create a Department
Name: Create Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: CREATE
Action: Execute PL/SQL Code
PL/SQL Code:
INSERT INTO dept(deptno,dname,loc)
VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Function Body
PL/SQL Function Body:
DECLARE
v_pk NUMBER;
BEGIN
SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
RETURN v_pk;
END;
Page Items to submit: P1_DEPTNO
Affected Elements: Item P1_DEPTNO
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: P1_DNAME
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark ‘Fire on page load’ and ‘Stop execution on error’
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: P1_LOC
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
Finally to refresh the Departments report, add the following true action at the end
Action: Refresh
Affected Elements: Region Departments
11) Create the following Dynamic Action to delete a department
Name: Delete Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: DELETE
Action: Execute PL/SQL Code
PL/SQL Code:
DELETE dept
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO
Don’t include any false action and create the Dynamic Action.
Include the following True Actions AFTER the Execute PL/SQL Code true Action.
Action: Refresh
Affected Elements: Region Departments
Action: Clear
Unmark ‘Fire on page load’
Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
12) Finally Create the following Dynamic Action for the NEW event
Name: New Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: NEW
Action: Clear
Unmark *‘Fire on page load’*
Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOCI need some help to solve this issues
• How Can I Hide UPDATE button while I press NEW button. ??
• How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
• How can I avoid multiple Inserts or Updates. ?? -
Configure CRS2008 to using AD and Kerberos with Java application servers.
Hi All,
I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
I have create service account in domain controller: CMSACC
I have create two user account: CRuser1 and CRuser2
I have create domain group: CRSGroup
After I had run the setspn in domain controller,I got the message at below:
Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
BOBJCentralMS/BDMGTSRV.BD.com
CMC Setting:
AD Administration Name: BD\administrator
Default AD Domain: BD.com
Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
Service principal name:BOBJCentralMS/CMSACCatBD.com
I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
bscLogin.conf:
com.businessobjects.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required;
krb5.ini:
[libdefaults]
default_realm = BD.com
dns_lookup_kdc = true
dns_lookup_realm = true
[realms]
forwardable = true
BD.com = {
default_domain = BD.com
kdc = BDMGTSRV.BD.com
I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
Exception: krb_error 41 Message stream modified (41) Message stream modified
KrbException: Message stream modified (41)
at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
My problem is failed to logon CMC and infoview and got error message at below:
Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
Ken.if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
So the problem is likely with the java portion (krb5/bsclogin or java options)
If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
then enter and password/enter again
Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
libdefaults
default_realm = BD.com
dns_lookup_kdc = true
dns_lookup_realm = true
udp_preference_limit = 1
Regards,
Tim -
Appleworks docs and compatibility with iWorks application?
Appleworks docs and compatibility with iWorks application? Does it exists? I do not have iWorks and will soon be upgrading my op sys to 10.4 (it really is in the mail) I currentl have 10.2.8
I use AppleWorks a great deal. Does iWorks replace it? or enhance it?
Will AppleWorks be upgraded or is 6.2.9 the last iteration?Welcome to Apple Discussions SYGWS
iWork (no "s") is not an application, but the name given to the package of two applications, Keynote & Pages.
Keynote is a presentation application that can open AppleWorks 6 presentation files & PowerPoint files. I haven't use Keynote other than to view a few presentation. You probably can find a lot of information by searching the Keynote forum.
Pages is the word processing/page layout application in iWork. Pages is able to open AppleWorks 6 word processing document as well as Word, text & RTF documents. It is not able to open any other AppleWorks documents or older Word documents (I'm not sure how far back it goes). Pages 1 (iWork '05) will not display floating spreadsheet frames in AppleWorks 6 word processing documents, Pages 2 can. Pages 2 has limited spreadsheet functions available in tables (as does Keynote 3, both in iWork '06). Pages can export as PDF, Word, plain text, RTF & HTML (HTML export is disappointing to say the least). It cannot export as AppleWorks (any version).
No one here knows for sure if AppleWorks will ever get another update & those that do have signed non-disclosure agreements, but it is extremely unlikely. In the iWork ’05 press release iWork is said to be "building the successor to AppleWorks."
Many users here, like me, use Pages for what it does so well & AppleWorks for what it does that iWork doesn't (at least not yet) - databases, spreadsheets & drawing. -
Which SMARTTV (SAMSUNG U46F7000 or SONY BRAVIA W8 46'') has a better communication and functionality with apple devices (i pad- iphone).
Since the above manufacturers do not give me a straight answer and it is very important reason for me to make a choice please advise!Sorry but I must correct about SONY!!!
The question was for Bravia series W9 and not W8. -
How to Create Company and link with Plant
Dear All
Kindly help me to create Company and link with Plant and Storage Location through SPRO.
Kindly trll me TCODE.
Waiting for Reply
Thanks & Regards
AlokHI,
Go to OX02 and create a company code by copying the standard company code 0001 / 1000
Then go to OX10 and create a plant by copying the standard plant 0001 / 1000
OX09 - maintain storage loaction for the created plant
OX08 - create purchase org copying from standrard 0001 / 1000
Go to OX18 and assign your plant to company code
OX17 assign purchase org to plant
In order to get the tcode go to SPRO and in the top menu click on additional informations - additional information - display key - IMG activity.
After you select this then in the SPRO you have a column additional information comes up. each and every activity in SPRO will have and additional informatiom, in the additional information the last 4 characters is tcode.
Eg : SIMG_CFMENUSAPCOX02 this is the additional information for CC. the last 4 characters OX02 is the tcode
Thanks
Kiran -
How to create database and table with GUI?
How to create database and table with GUI?
for linux can do that?
or have only way to create table by use sql*plus.
everyone please help me.
thanksgo to www.orasoft.org
here is a gui tool.
null -
BC4J and OAS with Java Application Client
Could you show me an example about using the BC4J and OAS with Java Application client.
The JDeveloper Help is not enough to solve this kind of problem.
Configuration:
Jdeveloper 3.1
OAS 4.0.8.1
Database 7.3.4
nullif you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
So the problem is likely with the java portion (krb5/bsclogin or java options)
If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
then enter and password/enter again
Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
libdefaults
default_realm = BD.com
dns_lookup_kdc = true
dns_lookup_realm = true
udp_preference_limit = 1
Regards,
Tim -
I was told at the Mac store, if download Numbers and Pages with my Imac I could install it on my Macbook for no extra charge. True? Tried it and was charged twice
Cynthia7 wrote:
so if i'm trying to use keynote on my imac after i purchased it on my ipad first, can i do that for free if i already paid for it once? and if i can, how? any advice will help. thanks.
Sorry, no. The versions for Macs and iDevices are different. -
How can I create a Login-page with jsp???
Hello,
I have to create a page with JSP code on the Netweaver Developer Studio.
But I do not know how I do it.
Can anyone tell me what to write in the portalapp.xml?
An example would be very helpful.
Thank you
GreetingsAs you can see in the example:
The portalapp.xml file (deployment descriptor) provides configuration information for your application, and defines the components and services in your application. For each component and service, you specify the implementing Java class and configuration information.
For more information on the format of the portalapp.xml, see Deployment Descriptor (portalapp.xml).
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.navigation.service, com.sap.portal.navigation.api_mimeservice, com.sap.portal.navigation.helperservice"/>
<property name="Vendor" value="MY_COMPANY"/>
<property name="SecurityArea" value="PERMISSION"/>
</application-config>
<components>
<component name="SimpleNavigationExample">
<component-config>
<property name="ClassName" value="MY_CLASS"/>
<property name="SecurityZone" value="no_safety"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application>
You can only update in this example, your class name and other details:
<property name="Vendor" value="sap.com"/>
<property name="SecurityArea" value="MyCompany"/>
<property name="ClassName" value="LOGINCLASS"/>
<property name="SecurityZone" value="no_safety"/>
Modify this portalapp.xml file as follows:
1. NAVIGATION SERVICE, so you must add references to the following portal applications that define these services:
com.sap.portal.navigation.service
com.sap.portal.navigation.api_mimeservice
com.sap.portal.navigation.helperservice
2. In the <application-config> section, create the following properties that help to define the security zone for all components and services in this application:
○ Vendor: String identifying the company or organization that provided the application, for example, sap.com.
○ SecurityArea: String identifying the security area for the application, for example, NetWeaver.portal.
3. In the <component-config> section for the mySiteMap component, create the property SecurityZone to define the specific security zone for the component.
For Permission, check this document:
http://help.sap.com/saphelp_nw04s/helpdata/en/44/489e2df5ee4e35e10000000a1553f6/frameset.htm -
How do I create a new page with the existing layout of the one I've already created?
Okay, I'm extremely new to DreamWeaver, just an FYI. I've been commisioned to develop a site for a company. There will be like 10 pages total on the site. I've created the home page, and I'm now attempting to make the second one. But I don't know how I can take the basic layout I created in the home page so I can add information for the other pages later. I tried saving as template, but I had to create editable regions and those got in the way. I even tried copying all the code from the original, but then the Spry menus won't work properly. I hope I conveyed my problem correctly. Any assistance will be more than helpful.
Thanks.There are basicly two methods, firstly the template method you have already tried, and secondly the "includes" method. Some people use one or the other, some people mix the two. I use only the includes method.
The includes method can be done in several ways. The PHP language has it's own method of doing includes. That's what I ususally use. You can also use the SHTML method. With the SHTML method, the material you wish to include is put in a normal HTML file, then in the file where the include will be put, it is done like this:
<!--#include virtual="../includes/banner.html" -->
. . .and the pages/files must have the shtml suffix, not html. That informs the server that yo are using server script in the file.
I don't use Spry menus (or spry anything) so I can't suggest a reason you encountered a problem with it. -
Can not create template based page with customized page type.
I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
Steps to reproduce it:
1. create a new page type - test page type.
2. create a new template = test template.
3. create a new page - test page.
3.1 choose the page type to be "test page type"
3.2 fill in the form including the new attribute info.
3.2 choose the page template to be 'test template"
3.3 click finish
4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
I tried to find a workaround.
1. create a page with "test page type".
2. covert the new page to template.
I got this error message:
Error while copying page. (WWC-44262)
(WWC-00000)
Looks like customized page type and template can not coexist. Is this a bug?How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
Mike -
Create a login page with NI Security Programmatic Login.vi
Hi everyone,
I'm trying to create a login page that inputs username and password of users, then authorize user information with the Domain Account Manager to recognize user identification.
I google and see the NI Security Programmatic Login.vi can allow me to create a login page and it works. However, I got a problem is to redirect to other pages after authorizing.
NI Security Programmatic Login.vi only outputs some string to show the status of the authentication, it doesnt output boolean like true or fall.
Does anyone has a solution to help me?
Thank you.
This is my screen shot:Thank you for suggesting me. I've done the checking task but I don't know how to call a subVi.
As you can see in the images I post below, I have a login page with its diagram, and the main page that I want to show after logging in conrrectly.
So should the main page is the subVi or the login page? And can you tell me how to show the main page after logging correctly?
I also don't know how to refresh the page if logging information is incorrect. Do you have any solution?
Thank you so much. -
I would like to create a subscription page for my Muse site with different subscription choices, but I am not sure if it is possible or, if it is how I should construct it. Any ideas?
Hi
This can be done from hosting platform end. If you are using Business Catalyst to host your site , then you can use events module, campaign subscriptions , secure zone subscriptions etc.
You can create the events/announcements on BC end and then add the module in Muse page which on publish will show the modules on page.
Thanks,
Sanjit
Maybe you are looking for
-
How to create a certificate signing request that works with Microsoft CA
Hi, I have created a certificate signing request file with keytool. When I try to create a certificate from it with CertReq (I use a Microsoft CA) I get the following error message: Certificate not issued (Denied) Denied by Policy Module The request
-
Form processing error in weblogic
Hi all 'm having this really strange problem in weblogic. I've developed a small portlet for a propritery portal. The portal is an web application and runs on a j2ee servlet engine. On my development machine im using tomcat as the servlet container.
-
Hi, Let me describe what we are trying to do and what we require. Step 1 - We will book a receivable invoice from a customer(XXX) ie (FB 70) Dr. XXX - 100 Cr. Revenue - 100 Step 2. When we receive the cheque (F-28) Cr. XXX - 100 Dr. Bank - 100 Now we
-
XI configuration regarding MDM
hi, How do we need to configure XI for MDM integration. Can u suggest some links so that i can refer to them. Thanks
-
Hi, We have two new MDS 9148 switch for our DC. I have little knowlege about cisco MDS Swtiches. I am planning for 1+1 redundancy for this MDS switches. Connectivity : ____________MDS SW01 __________Storage Server ----|