Domain Template builder
Hi
I try to create domain template using config_builder.sh getting error
"The Configuration Template Builder is not supported in console mode."
I created already domain on Solaris and Linux env
Thanks,
CT
I've found a workaround to do something similar:
1. Create a domain with the wizard.
2. Configure the domain manually using the console.
3. Use conf2admin to create a script with weblogic.Admin calls.
With this script, you should replicate the original domain
Similar Messages
-
Building a custom Domain Template??
I have started using the 'Doamin template builder' on Weblogic 11g to build a custom domain template base on my currently DEV domain env. Since, i would like to capture all the necessary domain setup information into a template, and then replicate this similar domain setup to other environment, eg: TEST, PROD. I'm trying to create a DEV domain template with what I currently configure, Admin, Managed servers, NM, Application, MDS, RAC, JMS, and application deployed.
How do I create a domain template (eg: DEV-template.jar) to be used by other environment TEST, PROD? My concerns with my Domain template is with the dependency on things such as environment settings for host names, RAC DB, JMS, etc. Since these env settings are different from ENV to ENV. How can I over come this problem and come up w/ simplify solution? Is it possible to do this in Domain Template Builder or I'm better off by using WLST to build this type of domain?
Example or approaches on this type of work would be greatly appreciated Thanks Much!
Edited by: fang on Dec 10, 2010 8:56 AMI would start with the 'Basic' template, then as one example of a child's book, crafting a chapter-less book is possible, but a minimum of one section is required. Remove the chapter label, leave the TOC blank and you'll then have a basic/generic point from which to work with.
Use iBA's 'File/Save As Template...' menu and then you have something you can reuse later if you like.
Ken -
Configuration Template Builder gives error when selecting domain
Hello,
I'm trying to use the Configuration Template Builder on Solaris to
create a template. I'm starting the builder like this:
java -client -jar /bea/weblogic81/common/lib/config.jar -target=template
When it asks what domain I want to create a template for, I select one
of my domains, then click on the Next button. After a second or two I
get the following stacktrace in the console. I then get similar errors
later in the process.
java.io.IOException: Unable to resolve input source.
java.lang.NullPointerException
at
com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:860)
at
com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:385)
at
com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.createSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:59)
at
com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:335)
at
com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:302)
at
com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:923)
at
com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
at
com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.doAssign(JMSServerServerAssignmentListener.java:50)
at
com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoableChange(AssignmentTreeListener.java:77)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:188)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:155)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:138)
at
com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataModel.java:191)
at
com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionVisitor.visitTree(AssignmentTree.java:1020)
at
com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
at
com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
at
com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:42)
at
com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
at
com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220)
at
com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:359)
at
com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:302)
at
com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:923)
at
com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.java:223)
at
com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1177)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.buildTemplate(TemplateLoaderTask.java:243)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.execute(TemplateLoaderTask.java:160)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.run(TemplateLoaderTask.java:133)
at java.lang.Thread.run(Thread.java:534)I should point out why this is a problem for me. The config.xml of the
domain I'm tring to make a template for puts relative pathnames for the
location of some of the components. For example, JMS Event Generators
are put in the config.xml with a path of "."
If I run the Config Template Builder from the only directory from which
it works (the directory with the config.jar file, which is common/lib),
then these relative paths will not work. I get the error shown below
when trying to create the template jar:
Preparing...
Compressing Configuration Template Contents...
Configuration Template Creation Failed!
Configuration Template Location: /bea/user_templates/demoServer1.conf.jar
Reason: Unable to locate file: ./WLIJmsEG_ResponseGenerator.jar
Exception:
com.bea.plateng.domain.GenerationException: Unable to locate file:
./WLIJmsEG_ResponseGenerator.jar
at
com.bea.plateng.domain.TemplateGenerator.generate(TemplateGenerator.java:173)
at
com.bea.plateng.wizard.domain.gui.tasks.DomainCreationTask$1.run(DomainCreationTask.java:222)
So, I wanted to try and run the Template Builder from the domain's
directory, but then I get the error shown below.
Any help is appreciated.
Steven Ostrowski wrote:
Note: I only get this error when running the Template Builder in a
directory other than the /common/lib directory.
If I run this command in any other directory, I get this error. If I run
the command in the common/lib directory, I do not get the error.
Steven Ostrowski wrote:
Hello,
I'm trying to use the Configuration Template Builder on Solaris to
create a template. I'm starting the builder like this:
java -client -jar /bea/weblogic81/common/lib/config.jar -target=template
When it asks what domain I want to create a template for, I select one
of my domains, then click on the Next button. After a second or two I
get the following stacktrace in the console. I then get similar errors
later in the process.
java.io.IOException: Unable to resolve input source.
java.lang.NullPointerException
at
com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:860)
at
com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:385)
at
com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.createSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:59)
at
com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:335)
at
com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:302)
at
com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:923)
at
com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:107)
at
com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.doAssign(JMSServerServerAssignmentListener.java:50)
at
com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoableChange(AssignmentTreeListener.java:77)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:188)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:155)
at
com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:138)
at
com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataModel.java:191)
at
com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionVisitor.visitTree(AssignmentTree.java:1020)
at
com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
at
com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
at
com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:42)
at
com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
at
com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220)
at
com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:359)
at
com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:302)
at
com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:923)
at
com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.java:223)
at
com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1177)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.buildTemplate(TemplateLoaderTask.java:243)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.execute(TemplateLoaderTask.java:160)
at
com.bea.plateng.wizard.domain.tasks.TemplateLoaderTask.run(TemplateLoaderTask.java:133)
at java.lang.Thread.run(Thread.java:534) -
Configuration Template Builder WL8.1 does not work
Hello,
After spending nearly 2 days now trying to get a Configuration Template
built, I've concluded this simply does not work. Has anyone used the
Config Template builder to package a semi-complex application on top of WLI?
I'm trying to have 2 of my applications, the JMS and JDBC resources,
and a WLI event generator packaged up for easy deployment to someone
else's server configuration. The problem with this is that there are
required resources for WLI, namely a database. The Pointbase database
included for WLI does not get included in the template automatically.
There are also some flat-out bugs:
If you choose to include a resource adapter "application", such as
jms-xa-adp.rar, the template builder does not bundle this in the
template and deploy it correctly. The template builder restricts you to
putting applications in the relative path starting at ./
For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
the template builder defaults to put it in ./lib of your template.
However, when you create a domain with the template, jms-xa-adp.rar does
not get placed in your ./lib directory. This causes you to then go and
manually edit your config.xml to point back at $WL_HOME/server/lib or to
manually copy jms-xa-adp.rar into your ./lib directory (which the
template mechanism should do for you).
Relative paths in the config.xml file require you to execute the config
builder from the directory of the domain you are making a template for.
The template builder should instead be smart enough to realize that
relative paths in the config.xml file are relative to the directory that
the config.xml is in, not the one you are running the template builder
from. You'll get an error when trying to create the template cause it
won't find the resources if you're not in that directory.
If anyone has successfully used this to package a WLI application in a
template, please share your experiences and how to do so. In the
meantime, I'm claiming there is no way to nicely package up a server
configuration for a WLI app in Weblogic, and this is a big shortcoming.
Weblogic needs a simple transferrable way of creating server
configurations (it tries to do this with the template, but that is
failing). With JBoss, for example, you simply copy your server directory
into another installation. This doesn't work with Weblogic unfortunately
because it puts hard-coded paths in the config.xml file.
ThanksRuss,
Thank you for the detailed responses. The only one I'm currently
struggling with still is the #5, with the scripts between the two. One
of the major benefits of using a J2EE App Server is supposed to be the
portability between servers. I find it disconcerting that BEA Weblogic
restricts me to the platform I created the domain on by creating
platform-specific startup/shutdown scripts for only the platform created
on. It's understandable that a script converter would be difficult, but
at least both the .sh/.cmd files should be created from the first time
you make a domain. If the user only wants one or the other, they can
delete the appropriate one. It's also understandable that the
users/deployers shouldn't have to manually convert a startup/shutdown
script to take the domain to a different box.
JBoss clearly has BEA beat on ease of deployment here. Their model is
the concept I'm thinking of: you have some generic startup/shutdown
scripts that can load a platform-independent server configuration. You
truly can copy directories as-is between JBoss installations.
I was hoping to package up a server domain for use on any of the
supported platforms, but since I don't have the time to manually convert
the startup/shutdown scripts, I'm going to have to tell people it's only
for Solaris now.
Hopefully BEA can fix this in a future SP. There's no need for this
platform-dependency. Also, if the Windows version can generate both
scripts at creation time, then the Solaris should be able to do this as
well (or at least give you the option).
Thanks again for the replies
russ wrote:
Hi Steven,
I have several comments and questions about your last two posts. I will try to
address them in order.
1) "The Pointbase database included for WLI does not get included in the template
automatically."
By default the template builder only includes the *.cmd and *.sh files in the
template from your domain directory. If you begin building with an existing
domain template all files that were in the template will get included. This was
done because there is no way for the builder to automatically determine all the
files that are required by your template/domain and we steered away from recursively
including all files from the directory so that unused files were not needlessly
included. We can extrapolate some files based on the application paths in the
config.xml, but the rest is left up to the template builder to be aware of what
is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
files included in your template just select these files on the ?Add Files? panel
of the template builder and add them to the ?Domain Directory?.
2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
the template builder does not bundle this in the template and deploy it correctly.?
The template builder considers application files to be in two categories: Imported
or Internal. When you are at the ?Add Applications? panel of the builder you
will see a checklist of all the applications that are in the domain you selected.
On the right hand side there are two text fields. The top one displays the application
path as it is currently set in the config.xml of that domain. The bottom field
will be different depending on what category the application falls into. As you
click on each application in the list, you may notice that the bottom field may
change from an editable field titled ?Imported Application Path? to a non-editable
field titled ?Internal Application Path?. The difference between the two categories
is that an ?Imported? application?s files will be included in the template jar.
An ?Internal? application?s files will not be included in the template jar because
they are considered internal to the weblogic installation. The jms-xa-adp.rar
should fall into the internal category and should not get included in your template.
From what you are describing it sounds like the builder attempted to import that
application when it should not have. In an attempt to recreate the problem you
are seeing I deployed that Connector Module through the WLS console and ended
up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
from this domain, the builder recognizes this as an internal path and does not
include it inside my template. If the current application path you had looks
different from the one above, that may explain why the builder was attempting
to import it. What was the value of the ?Current Application Path? for that application
deployment?
3) ?Relative paths in the config.xml file require you to execute the config builder
from the directory of the domain you are making a template for.?
The builder is ?smart? enough to determine relative paths. You should not have
to invoke it from the domain directory you are working with. There is a known
bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
cause it to not find files with relative paths in your domain directory if the
application path in the config.xml is just a ?.?. If this is the case, you should
see a FileNotFoundException when you attempt to create the template. This will
be fixed in SP2 and you can work around this problem by changing those paths to
?./? instead. If this was not the case, what was the path the wizard choked
on?
4) ?Looking through the config file, it seems that it's all of the WLI components
that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
an absolute path, not sure if that is WLI or WLS. ?
BEA_WLS_DBMS_ADK is an integration application. If you created the original
domain using the configuration wizard most of the applications in an integration
enabled domain will reference paths inside of you installation directory or ?internal?
paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
domain into the builder it shows this application as ?internal? and the ?Internal
Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
This will be set as the path value of this application in the config.xml that
will be included in the template you build. When you later use the Configuration
Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
of the installation directory of the machine you are creating it on.
If you were to Change these to relative paths, as Mark previously suggested,
it will only work if you copy the domain directory to the same location relative
to your installation directory on the target machine. Also, if you copy the domain
in this manner you will more than likely run into problems with your start/stop
scripts and be forced to hand modify all the paths contained within. The configuration
wizard tries to alleviate these problems and make the configuration entirely portable.
This gives the user who creates the domain from your template the ability to
put it anywhere they want regardless of the paths in the config.xml.
5) ?However, there is another major problem with the Template Builder: it only
includes the startup/shutdown script for the platform you create the template
on. ???I built the template on Solaris with the UNIX scripts. However, I tried
to create a new config on Windows with this template, and the scripts were not
converted to .bat files!?
As I stated previously, the builder will only include *.cmd and *.sh scripts
into your template by default. If you created the domain on a unix platform using
the configuration wizard it will not extract the *.cmd files since these aren?t
considered to be useful on unix. If you were then to attempt building a template
from this domain and take it onto a windows platform, it will obviously be missing
any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
because they can still be useful if a user has an MKS or Cygwin type environment
installed. The config wizard and template builder do not have the ability to convert
scripts. The builder will only include existing scripts that are in your domain
directory and automatically determine any necessary string substitutions that
will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
files since these are more commonly associated with Win 95/98/ME.
I will be happy to answer any more questions you may have and would also like
to take a look at your domain configuration to try and get a better understanding
of the problems you are encountering.
thanx,
russ -
Template builder & shared lib (10.2)
Hi,
i am creating a domain template from a portal domain using Template Builder.
The resulting config.xml file stored in the jar file is not correct regarding some libs used by Weblogic Portal. Therefor, when i create a domain from this template, these libs are not found !
snipet from the config.xml file stored in the template jar file :
<library>
<name>[email protected]</name>
<target>AdminServer</target>
<source-path>*$APPLICATIONS_DIRECTORY$*/content-management-app-lib.ear</source-path>
<deployment-order>1</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>
<library>
<name>[email protected]</name>
<target>AdminServer</target>
<source-path>*$APPLICATIONS_DIRECTORY$*/webdav-app-lib.ear</source-path>
<deployment-order>1</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>
<library>
<name>[email protected]</name>
<target>AdminServer</target>
<source-path>*$APPLICATIONS_DIRECTORY$*/content-management-web-lib.war</source-path>
<deployment-order>1</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>
<library>
<name>[email protected]</name>
<target>AdminServer</target>
<source-path>*$APPLICATIONS_DIRECTORY$*/webdav-web-lib.war</source-path>
<deployment-order>1</deployment-order>
<security-dd-model>DDOnly</security-dd-model>
</library>
The correct source-path for each lib should be starting by $USER_INSTALL_DIR$ instead of $APPLICATIONS_DIRECTORY$
Any idea ?
Thx a lot
EmmanuelI believe this is a known issue with the template builder of Weblogic portal.
And the suggested workaround for this is to change it manually from the *$APPLICATIONS_DIRECTORY$* to *$USER_INSTALL_DIR$*
thanks,
sandeep -
Where can I find "Oracle Application Core (Webapp)" domain template
Hi Experts.
I'm following the http://docs.oracle.com/cd/E14571_01/bi.1111/e10540/adf.htm guide
It is written:
On the Select Domain Source screen, ensure that Basic WebLogic Server Domain, Oracle JRF, and Oracle Application Core (Webapp) are selected.
There is no Oracle Application Core (Webapp) in the options list.
What Oracle component ships this domain template?
Thanks.Tested this in my local Windows JDeveloper environment:
>
Oracle JDeveloper 11g Release 1 11.1.1.6.2
Studio Edition Version 11.1.1.6.2
Build JDEVADF_11.1.1.6.2_GENERIC_120329.1447.6268
Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.6.39.62.68
Product ID: oracle.jdeveloper
Product Version: 11.1.1.6.39.62.68
>
and I do have the template "Oracle Application Core (Webapp)" listed. Can you confirm details of the environment that you are trying this ? Also do note that the templates are not in alphabetical order so you'll need to manually search the list ..
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Template Builder (XML Publisher Report) for Open Office
Hi,
Do any body has any idea, if can have template builder for Open Office also, My company has un installed MS Office from my machine, and they dont have license now.
Thanks and Regards,
Nidhi GuptaHi All,
I think Oracle can provide a BI Publisher Software for the Open Office, since the licencing cost for MS Office is very high.
"OpenOffice Writer" is a open source alternative to MS Word and can be used on Linux. If I am using Linux OS and have to work on BI Publisher templates then certainly I will have to install Windows or use WINE ( I donno how it works but heard of it)
Other Oracle tools such as SQL Developer, etc are platform independent.. then why only BI Publisher is limited for windows/MS Office.
Tim,
Can you please answer..
I think it should integrate with OpenOffice too!!
Regards,
- Ejaz
[email protected] -
Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)
Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
If I'm in the wrong place, please do warn me.
The documentation says:
Direct Insertion
Insert the jpg, gif, or png image directly in your template.
...This works obviously
URL Reference
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{'http://image location'}
For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
Element Reference from XML File
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{IMAGE_LOCATION}
where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
...This, however, does not work.
I use Apex' report query tool and My query is like
select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
Regards
PS: My BI version: 10.1.3.4.1Hi Oeren,
your steps seem basically to be correct. I have a tutorial how to do this here (in german)
http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
referencing seem to be OK.
Here are two thought - the issue might be one of these ...
How did you insert the dummy image into the word document - did you do it via "insert" or
via "link to file". "Link to File" does not work - you must choose the simple "insert".
Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
Does this help ..?
Regards
-Carsten
Cloud Computing mit APEX umsetzen. Jetzt!
http://tinyurl.com/apexcloudde
SQL und PL/SQL: Tipps, Tricks & Best Practice
http://sql-plsql-de.blogspot.com -
Grouping and Sub total Problem in Template Builder
Hi,
Please help me out to sort the problem am getting in template builder.
am here by attaching the xml and RTF which i have done. please go through the files and help me sort the problem.
<LIST_G_REQ>
<G_REQ>
<BUYER_ID>DENIECE</BUYER_ID>
<BUYER_GROUP>1</BUYER_GROUP>
<BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
<REQ_TOT>1</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>THUGHES1</BUYER_ID>
<BUYER_GROUP>1</BUYER_GROUP>
<BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
<REQ_TOT>12</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>VACHAVEZ</BUYER_ID>
<BUYER_GROUP>1</BUYER_GROUP>
<BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
<REQ_TOT>19</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>KAJIKAWA</BUYER_ID>
<BUYER_GROUP>2</BUYER_GROUP>
<BUYER_SUBGROUP>AP</BUYER_SUBGROUP>
<REQ_TOT>25</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>MSVIC</BUYER_ID>
<BUYER_GROUP>2</BUYER_GROUP>
<BUYER_SUBGROUP>AP</BUYER_SUBGROUP>
<REQ_TOT>171</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>FESPINOZ</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>C&R</BUYER_SUBGROUP>
<REQ_TOT>19</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>ASEJH</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
<REQ_TOT>16</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>BFINLEY</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
<REQ_TOT>23</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>JSMETANA</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
<REQ_TOT>21</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>SAVANCIL</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
<REQ_TOT>84</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>CALANE</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
<REQ_TOT>28</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>KATHYR</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
<REQ_TOT>13</REQ_TOT>
</G_REQ>
<G_REQ>
<BUYER_ID>STEFANIF</BUYER_ID>
<BUYER_GROUP>3</BUYER_GROUP>
<BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
<REQ_TOT>1</REQ_TOT>
</G_REQ>
</LIST_G_REQ>
This is my xml file please let me know how to do the groupingbased on "BUYER_SUBGROUP" and also "BUYER_GROUP_TOTAL" and "BUYER_SUBGROUP_TOTAL" in RTF.
Thanks in advanceHi,
I see that your data is having this format
<LIST_G_REQ>
<G_REQ>
<BUYER_ID>DENIECE</BUYER_ID>
<BUYER_GROUP>1</BUYER_GROUP>
<BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
<REQ_TOT>1</REQ_TOT>
</G_REQ>
</LIST_G_REQ>
So to group by BUYER_SUBGROUP, your code will be
<?for-each-group:G_REC;BUYER_SUBGROUP?>
<?end for-each?>
I dont know what you mean by BUYER_GROUP_TOTAL and BUYER_SUBGROUP_TOTAL here. -
Dynamic image in the template builder plug-in does not work
Hi all,
The documentation says:
Direct Insertion
Insert the jpg, gif, or png image directly in your template.
+...This works obviously+
URL Reference
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{'http://image location'}
For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
+...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}+
Element Reference from XML File
1. Insert a dummy image in your template.
2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
url:{IMAGE_LOCATION}
where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
+...This, however, does not work.+
I use Apex' report query tool and My query is like
select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
Regards
PS: My BI version: 10.1.3.4.1
Edited by: oeren on Jun 8, 2011 12:28 AMOeren,
I stumbled across this little tidbit buried in the BI Publisher forum: Dynamic Images in rtf
Glad you are up and running!
Joshua -
XML Publisher Template Builder for Adobe Acrobat
Need a XML Publisher Template Builder for adobe acrobat as is available for word.
I did so.. however, publisher is not able to substitute xsl syntax by the actual value..
eg.
i had a <?X_PO_NUM?> in word (either using text field or manually writing this..) and i converted the word doc into pdf using third party s/w..
when i uploaded this template pdf with sample data file using xmlp admin repsonsibility, and tried to preview the output,
substitution is not happening..
the requirement here is, to have some input fields in final PDF output for which report-users should be able to type values in.
for which I assume initial template has to be in PDF itself..
any ideas or pointers will be much appreciated.. -
Preview Etext template in XML Publisher Desktop (Template Builder)
Is there a way, or are there plans, to be able to preview an eText template using the template builder, in MS Word, like you can with PDF type templates. This is a great feature when creating PDF output and saves a lot of time. It would be great to be able to do the same for eText templates.
Cheers,
DaveYou can create a dummy data definition and dummy template(etext) in xml publisher admin responsibility.
For the Data definition , in the bottom if you scroll down you will see a link for upload preview xml data file.
After uploading the xml file access your template and you can see a preview icon.If you click it you will see a txt file popping up
thanks
prasanna -
Template Builder (BIPublisherDesktop.exe) installation for multiple users
Hello,
I tried to install version 10.1.3.4 of the template builder on a Citrix server (Metaframe 4.0) running under Windows 2003 SP2, and with Office 2003. Framework .NET 2.0 and JRE Sun 1.6 are also installed.
It works, but, in Word 2003, the "Oracle BI Publisher" menu is only available for the user who have made the installation. Other users can"t see it ?
I have monitored the registry during installation, and most of the keys are created in HKEY_CURRENT_USER, explaining why others can't see it.
Is there a way to make one install available for all users ?
Thanks.
Edited by: user528106 on 27 janv. 2009 01:31Yes Rainer... I got the problem just now...
Thanks for the reply...
Regards,
Amit -
Template Builder error(unable to load data)
Hi All.
When I try to load xml data into my document the template builder throws up the follwoing error
The macro cannot be found or has been disabled because of you macro security settings
This message can appear if:
The macro was deleted from the template.
The template was not loaded or referenced in the Templates and Add-ins command.
The macro was turned off by the macro security settings of your system.
If the macro security settings are not allowing the macro to run, you should confirm the origin of the macro to be sure it can be trusted (contact the developer or the source for the macro). You can temporarily lower your macro security level to Medium, close the file, and then re-open it and enable each of the macros that you want to run. If you do change your macro security settings, be sure to raise them again after you accept the macro or trust the template the macro is stored in (usually requires copying the template to the same folder as other trusted templates).
If the macro is not accessible because the template is not loaded, click Tools | Templates and Add-ins and browse to the template and click either Attach or Add. If the macro is not in the template, you may need to copy the macro from one template to another. Click the Organizer button at the bottom of the Templates and Add-ins dialog to start the Organizer utility.
More information about this error message online. The macro setting in my document was set to medium.
Tool-->>macro-->>security under security level tab it is medium.
I followed all the steps mentioned in Tim's blog..but it didn't help any..
http://blogs.oracle.com/xmlpublisher/2009/04/template_builder_woes_1.html
Under tools-->>templates and addins---->>TemplateBuilder.dot was checked already
MS word ver 2003
BI Pub Desktop ver 10.1.3.3 aslo tried the new version 10.1.3.4
Thanks in adance..Never mind..!
Re-installed Microsoft Office and everything is back and working fine. -
I am not able to find Template Builder in MS Word 2003
Hi All,
we have installed MS Word 2003 Ver in our work station for BI Publihser Reports, but i am not able to find the template builder in the Menu bar.
i was try to add in tool -> Template and add-Ins also, but still i dint get the template builder in top menu's.
Any one can help me on this.
Thanks in advance.
Regards,
LoganthanHi,
Did you installed BI Publisher first? usually we installed MS Word first then BI Publisher then it appears in the top bar.
HTH,
Vikas
Maybe you are looking for
-
How many tabs can I open at a time when using Firefox 3.0.5 with Windows Xp?
I tried to open 25 tabs in one window using firefox 3.0.5 with windows xp. It would only let me open 10. Tabs I added after 10 were added, but tabs at the begining were erased. What do I have to do to open all the tabs that I may need without changin
-
End times in month view: after 5 years of asking, will we ever get it?
About a year ago, I noted that a quick search of these forums turned up 28 requests dating back to 2005 requesting an extremely simple feature every paper calendar has: the ability to show an events' end time in addition to its start time. I had forg
-
what is the max no of tables that can be joined in inner joins? Thanks in advance srinivas k
-
Hi All, How can I remove the scroll bar from left side menu into portal, the same you can see into SDN site. Thanks in advance. Mahesh
-
What to do when photos tells me it must quit because of corrupted files
clicked on photos and it opened to tell me it must quit due to corrupted data, what can I do to get to me photos?