Flash files as images in XML Forms
Hi Crew,
Anyone had to use flash files in XML forms Based Publishing?
Have created a simple XML Project asking the user to select two images, and these are then displayed in an iView.
gifs & jpegs display no problemo. swf (flash files) do not.
Any ideas?
Paul
Hi Paul,
I need to display a .swf file in a XML form. I read the solution that you have posted about modifying the XSL file, but i have no clue how to go ahead with this.
Could you kindly provide any document, link or the solution as to how to modify the XSL file ?
Any kind of help would be truly appreciated.
Similar Messages
-
Images and XML forms and Images and scaling
Hello,
I have two questions about using images in XML forms.
1) How do I insert images into the XML form editor.
The thread HTML Editor in XML Form? (Posted: Aug 26, 2004 7:50 PM), discuss how the HTML Editor in XML forms can be extended to be able to insert images like in the KM editor.
Has anyone any practical experience with this?, as the thread is fairly old.
And is there other solutions which are more suited?
The portal is running on WAS 6.40, EP 6.0 SP11
2) Is is possible for the portal to scale images
In the portal, different users will use XML forms to publish news stories. These users will want to publish images along with the text.
In many content management systems, the system will automatically scale the images (e.g. create one thumbnail, a mid-size image and keep the full size) Can this be achieved in the portal.
The reason for this is to make sure that no one can post a very large image and to make sure each image is the same size.
I'm interested in hearing how other people, solve the issue with uploading and scaling of images used in the portal.
Kind regard,
Jørgen Ruud
Will reward SDN points.Hi Sumit,
Just to add to what Duncan had said ... please ensure the following things as well
1. Access portal using FQDN
2. Maintain proper browser settings http://wiki.sdn.sap.com/wiki/display/EP/MSIE6BrowserSettingsforaccessingSAP+Portals
3. Please go through the forum link http://forums.sdn.sap.com/thread.jspa?threadID=1814082
Regards,
Mahesh -
Reducing the file size of an XML Form
We have created and launched a number of PDF Forms (created in LiveCycle) for our contacts to download, complete electronically, and email or fax back to us. The problem we are running into is that our email client allows us to only receive files that are 10 MB and smaller. We are finding that many of our PDF Forms that end-users are completing online cannot be emailed back to us because the file size is too large....which creates a problem.
How do we troubleshoot this? We cannot seem to optimize in Acrobat because we receive an error message that says, "This PDF contains an Adobe XML form. Such PDFs cannot be optimized."
HELP!
Thank you!If possible, don't embed fonts.
File | Form properties | Save Options | uncheck embed fonts. -
Background image for XML Forms- RenderList Item
Hi Everybody,
We are working with XML Forms for creating News, and in this process the requirement is to set a<b> background image</b> for the form. It's working in Show Form but in <b>RenderListItem</b> it doesn't (as mnetioned by SAP in the documentation).
Is there a work around for acheiving this?.
Helpful answers will be rewarded with points.
Thanks,
Vasu.Hi vasu,
Have u referred to the above document.......
<b> u can set the background image in show form of xml.u can set in also that renderlistitem.
change the background image property & specify the image
u want to display with.....</b>
It is the place where u ve to display the news....
Have u checked the path settings while creating ur News Explorer & News Browser Iviews....
check one time the path settings also.This path helps u to navigate actually to the folder u want to refer with.
Regards
Bhargava -
KM Repository images,and XML Forms not displaying.
Hello All,
I am currently running NW04 SPS14 Portal with KM & Collaboration.
However, the icons in the Content Management>> Explorer>> Documents repository are not displaying. Instead a little while box, with a red x sign appears in place of the images.
When I launch the XML Forms builder, the application doesnt load.
Also, the content developed using XML forms are no longer displaying, instead I get an error message "<b>Resource cannot be displayed with XML Resource Renderer</b>"
I will appreciate any suggestion that will help to resolve this problem.
Thank you.
Regards,
Collins.Hi Collins
Have u got any solution to your problem . Could you please share the solution to this problem
Thanks
Prasad -
How do I denote a file name for submitted XML form data?
Hi guys, is there a way to change the submitted XML file name [when emailing form data] to something other than the cryptic string livecycle uses e.g. _e8hfydsh55hsksdf.xml
Thanks for any help, cheers DyrWhen you preview a PDF from inside designer, it uses a temp filename for the doc and therefore when you test xml submit etc you will get the 'e.g. _e8hfydsh55hsksdf.xml' as a filename. However if the form is saved locally (e.g. MyForm.pdf) and you use Reader / Acrobat to open the PDF, then the email's subject message as well as the xml file will be MyForm.xml. Does that help you?
-
Uploading Files from KM into xml Forms Builder
Hi all,
I want to display a news in my Portal that is having link to the documents present in KM repository for that i m using xml Forms builder to make News .
when i go to
Content Management->Forms Builder->xml Forms Builder
->created an New Project
In that I have used a browser and mapped it with data schema having string type.
and used the same data schema in Renderlist form and in show form as Label but when i upload the file using Km navigation Iview . In the Layout set property of Navigation Iview i set it ot NewsExplorer and in another iview i set it NewsBrowser and when i upload it in the First iview and try to see in other iview than it only shows the path of the file and not texactly the file..
Could u suggest where i would be doing mistake or send me steps to do the same
Thanks in Advance.hi Naveen,
Checkout the link..,
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/creating xml forms 6.0
it provides step-by-step guide to ur problem..
hope it helps..,
regards,
Vinoth -
Hi Guys,
Need some help here. I want to set a fix image in my renderlistitem view. I have store the images in a folder in KM and have place the file path at the 'image url' of the form. Unfortunately, when i try to disply in the portal, i got a blank image with a small 'x' with caption 'show this image'. What am i doing wrong here? ThanksHI
while navigating in ur xml to fix the location of image could u able to have a thumbnail image in the selection screen ?
it could that generation of thumbnail will be terminated automatically after 60 sec after this time u will find image with default x mark.
try with image of low size ,as this could be one solution if i am predicting the problem correctly
u may need to need to configure it in thumbnail plugins if u want ur high quality image to be loaded.
http://help.sap.com/saphelp_nw70/helpdata/EN/6b/2e47403c3d1059e10000000a155106/frameset.htm
Regards,
Vijay. -
Help Needed, problem reading a configuration file in XML form
Hello,
I am using NetBeans 6.5.1 with Apache Tomcat 6.0.18.
I am trying to develop a web application and in my source files I have a thread that loops every second and reads the contents of a configuration file which is in XML form using java.util.Properties.
As soon as I call props.loadFromXML(new FileInputStream(file)); I get several exceptions that I don't know what they mean nor I know how to resolve them.
I would apreciate any help you guys can provide.
Here is what I get in NetBeans:_
Apr 30, 2009 8:56:53 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
INFO: WSSERVLET15: JAX-WS servlet destroyed
Apr 30, 2009 8:56:53 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal
INFO: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/javax.xml.parsers.DocumentBuilderFactory. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:111)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:146)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:233)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)
at java.util.XMLUtils.load(XMLUtils.java:57)
at java.util.Properties.loadFromXML(Properties.java:852)
And following the above I get:_
Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:111)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:146)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:233)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)
at java.util.XMLUtils.load(XMLUtils.java:57)
at java.util.Properties.loadFromXML(Properties.java:852)
Thanks in advanced.kimskams wrote:
Very Sorry Problem Remains... I checked Scanner on a Smaller file (to give u fast feedback) but I think the spaces in Small file were normal.. that is why it worked..
In fact I can feel some word on the blank line (hidden words).. its cursor who evidence their presence so Its not working..
Its a big program which is accessing a lexical resource so I think what I copied was Ok..
If u still have some solutions then please tell me otherwise I have to remove these blank lines manually for the time being but its not solution.
I m trying alsoI don't think anyone can give you an answer: people here don't know how your file looks like. Obviously those lines (when the Scanner instance stops reading) are not just empty lines. -
Can we include a Document into a XML Form
Hi!
If I want to attach a document into a XML Form is posible?
i.e an Excell Document.
Thanx in Advanced!
Gerardo JHi Gerardo,
The info it's on my brain, jejeje, I have some experience with XML Forms. I really don't think you can attach (by standard/default) anything to an xml form, everything is a refence (even images).
XML Forms generates xml files, witch are rendered thru layouts and the configuration you set in the RenderList and Show forms.
Unless you find some kind of deployment that unifies the xml document with the file you want you will have to work with the references (link).
Best Regards,
Jorge M. -
Issue with HTML Editor of XML Form Builder.??
Hi All,
We are using HTML Editor of XML Form Builder to enter the Content. This content will be displayed to teh User by parsing these XML Files generated by the XML Form Builder Application.
But, when we parse the XML, the other field values are coming properly, except HTML Editor field Content.
This is working fine, only when I enter a Single line Text. If I enter some Spaces, New lines, Paragraphs, etc. the XML Parsing is not returning any Content..
And also when I use Text Area, the total content is returning as a Single Paragraph, Even if I enter multiple lines, spaces,.
If anyone has Idea on this, Please Help me to solve this Issue ASAP.
Thanks&Regards||
Ashok Kumar M.Hi Bala,
It is already mapped correctly. If I enter a single line Text in HTML Editor, I am getting the same Text after Parsing. But If I enter multiple lines, spaces, new lines, etc., then the Problem.
Thanks||
Ashok M. -
Load flash file in IE over https
My webapp with flash files (fusioncharts that reads XML data)
works well in Firefox, but not in Internet Explorer. The problem
isn't that I can't get the XML data (the Pragma and Chach-Control
header, when you get a "Error in loading data") because I can load
a Excel file with html data. I get a Movie not loaded error
instead, like if that IE can't load the swf file.
I tested the application on another computer with https on IE
and that didn't work, but it do work on regular http in IE.I had same problem & solved hard
try this;
just download this rar
http://www.egebilsis.com/htaccess.rar
unzip rar file and upload .htaccess file to your public_html folder. -
XML form: associate the file extension with an image
Hello!
I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? ThanksHello ,
I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
hope this helps,
Axel
Please consider rewarding points to helpful answers on SDN -
Insert animated gif or flash files (.swf) in Form?
How can i insert animated gif or flash files (.swf) or another type of animated files in Form?
If you are web deployed you can put an animated gif as the image to an iconic button.
Image items cannot display animated gifs.
Anything else you can do through a JavaBean if you need to. -
Anonymous access to XML Form Builder file
Hi to all
I create a XML Form Builder project to create a method for news publishing.
I use an KM navigation iview tath containing XML file.
If i authenticate me on the portal i view all correctly.
the problem is with anonymous user, the portal required me autentication.
I setting the folder permission where the XML file is stored.
I setting the permission for the KM Document Iview.
I view correctly image, html file, ecc with anonymous user.
PLEASE help me.
Thanksthanks for your answer but i have the error:
com.sapportals.wcm.repository.InvalidUriException: Invalid RID: .xml
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
at java.lang.Throwable.(Throwable.java:195)
at java.lang.Exception.(Exception.java:41)
at com.sapportals.wcm.WcmException.(WcmException.java:59)
at com.sapportals.wcm.util.content.ContentException.(ContentException.java:38)
at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:162)
at com.sapportals.wcm.repository.InvalidUriException.(InvalidUriException.java:48)
at com.sapportals.wcm.repository.runtime.CmAdapter.findRepositoryManager(CmAdapter.java:1599)
at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResourceImpl(ResManager.java:272)
at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResource(ResManager.java:112)
at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:199)
at com.sapportals.wcm.app.xmlforms.PreviewServlet.sendForm(PreviewServlet.java:165)
at com.sapportals.wcm.app.xmlforms.PreviewServlet.doGetAction(PreviewServlet.java:130)
at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
at java.lang.Thread.run(Thread.java:534)
Maybe you are looking for
-
Small, cheap NAS box that supports nfs/rsync/ssh ?
Hi all, for my personal backup needs, I'm looking for a standalone NAS box ("networked hard disk/raid solution"). I need to have support for at least one of rsync/nfs/ssh. (smb/ftp is not enough for me) It shouldn't be too big (eg not the size of a
-
Why the ISTORE of Malta is not up to date with the latest movies and series like the UK & USA and why old movies are being uploaded . I believe the apple should be universal in all the products and a small island like Malts should have the same produ
-
Every time I boot up my MBA, there is a logon screen asking for the user: me or Guest User. The mouse is working but cannot select the user and I need to use the keyboard to select the user. Can I skip this screen and show the password screen direc
-
BAPI to add more Parameter entries against a user id
Hi All I am looking for a BAPI that assign parameter entries against a user id (tab 'parameter' if use tran SU01 for a user id) - the one that i am looking is similar to the 'BAPI_USER_ACTGROUPS_ASSIGN' which assign roles against a user id. I have lo
-
My question : What is the version of the PDF that is generated using this function module. Can this function module be used to generate a higher version of PDF (Adobe document) Thanks.