cancel
Showing results for 
Search instead for 
Did you mean: 

what config<application-config>,<components> in portalapp.xml file

Former Member
0 Kudos

Hi all,

I have gone through the documentation of portalapp.xml..

there i have found various parent tags in portalapp.xml

i am confused about the following tags can any one tell me what to configure under these sections

1)<application-config></application-config>

2)<components></components>

3)<component-config></component-config>

4)<component-profile></component-profile>

Thanks and Regards

Prasad.Y

Accepted Solutions (0)

Answers (3)

Answers (3)

detlev_beutner
Active Contributor
0 Kudos
Former Member
0 Kudos

from here You can navigate to Your answers:

<protocoll>://<servername>:<port>/irj/portalapps/com.sap.portal.pdk.basic.portalcomponentimplementation/docs/deploymentdescriptor.html

Walter

sergej_heinrich
Explorer
0 Kudos

Hi,

in the portalapp.xml you define your (parts of your) application.

For example this can be:


<?xml version="1.0" encoding="UTF-8"?>
<application>
	<application-config>
    	<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
  	</application-config>
	<components>
		<component name="ShowUserDetailsSync">
			<component-config>
				<property name="ClassName" value="yourStartupClass"></property>
				<property name="ResourceBundleName" value="texte"></property>
				<property name="SecurityZone" value="yourStartupClass/high_safety"></property>
			</component-config>
			<component-profile>
			    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>        
			    <property name="EPCFLevel" value="0"/>
			    <property name="YourField" value="initValue">
		               <property name="personalization" value="dialog"/>
		               <property name="type" value="String"/>
		            </property>
		     
			</component-profile>
		</component>
	</components>
	<services/>
</application>

The application is the "main" tag, in this one you define your services and components. But also the configuration of your application, for exmaple the sharing-references.

The components you can define with the tag <components>, there you can put the config (e.g. the start-up class) and in the profile you can define your own "fields".

More about the different tags you can read in the pdf-publication "Portal Runtime Technologie" (sorry haven't found the link, will search for it...)

I hope it helps a little bit.

Sergej