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.
Thanks
thanks 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)
Similar Messages
-
Dear All,
I want to read all the data from xml form builder file which is located in KM Folder.
I want to pass all the related data to other third party tool .
how can I pass that data to other tool from KM folder directly .
please give me solution for the same.
Thanks in advance .
Thanks & Regards,
Meghal ShahHi Meghal,
Please have a look at below help link and see if it helps:
http://help.sap.com/saphelp_nw74/helpdata/en/4c/4e889a7ba25fb6e10000000a15822b/content.htm?frameset=/en/4c/4e889a7ba25fb6e10000000a15822b/frameset.htm¤t_toc=/en/b3/72eb4fe26740aeb5d355c6c52e2639/plain.htm&node_id=266&show_children=true#jump266
Regards,
Herman
SAP AGS -
Dear Experts
When I am opening XML Form builder, both my form builder window and the EP window are closed.
Appreciate your response.
Regards
Shanmukha Rao BanisettiHi Shanmukha,
Login to the portal with administrator rights.
Replace the url with
http://host:portnumber/irj/go/km/docs/etc/xmlforms/xfcheck/xfbuildertest.html
You can access the XML form builder environment check.
Run the application and see if you miss something.
Good Luck!
Sandeep Tudumu -
Missing permissions to delete temporary files in xml forms builder
Hi,
we have the following problem:
A user with role content manager is using the xml forms builder. Every time, he is saving or generating a project, a error message comes up, telling him, that some files *.xml.xlb.___save_file could not be deleted. Those are temporary files which are created during editing (I guess?!).
As recommended by SAP, the content manager only has read/write permission on the used KM-folder. If the user has the role (NOT group!) Administrator, everything works just fine. The same is true when the permissions are added manually. Is this the only way to solve the problem or am I missing some configuration?
Help appreciated.
Best regards,
Hauke SiehlmannDear Hauke,
Hope you found a solution in the meantime for this permission issue. Hence I just give a very general comment on this. Generally such content admins are supposed to be System Principals in CM by role assignment.
By this concept and default delivery on this it is assured that users having access to administrative iViews by role assignment does also have relevant permissions. See http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm.
Whenever having custom specific roles this System Principal concept should be part of the design.
Best Regards, Peter -
XML Form Builder-How to access data saved from a form?
Hi All,
I created a form in XML Form Builder. This form include checkboxes and input fields.
Also i include a Save button.
I used this form in a iView.
Many users will access this iView and save their input data.
So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
So for every user's Save is created a XML form .
The question is,
how can i collect all these data for each created XML form, so as i can process them?
Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
I am new in EP .
Regards
AriHello Avinash,
You can directly use query in form personalization Conditions like
select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
set the error message.
Regards,
Saurabh -
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 -
How to reference a file with the XML Forms Builder?
Hello,
I've created a form at the XML Form builder (I am using NW 04). This enables the users to create new topic.
I've created at at the "Edit" form an option to upload a file along with the new topic. The file is being saved in a subfolder of the topics main folder.
My question is how to create a link to the specific file that has been uploaded with it's specific topic at the "Show" Form? Note that the subfolder contains files of many topics, I want to link to this specific file uploaded with it's relevant topic when created. How do I do that?Hi Roy,
> I've created at the "Edit" form an option
> to upload a file along with the new topic.
What I expect that you have done is to add a browse functionality which browses within KM with the possibility to upload an image into KM?! As done within SAP Demo News?!
If that's the way, just compare the SAP Demo News: Create /DataSchema/News/image and map it to the browser, whereas in the show form part you'll map it to an image.
If I didn't understand you right and the issue is still open, please report...
Hope it helps
Detlev -
Attachments in XML Form Builder
Hello
I have created a XML Forms Builder Project.
News Author will create News using this form and attach Documents to the news.
for ataching document I am using a Schema Element with datatype set as rid .
from this element i created a Browser control .
At run time , i am able to select files from KM using the browser control.
But while Viewing the News when i click on the Hyperlink for that control
it opens up the same news again .. (its referencing self instead of the document)
What property setting i am missing ?
what is the correct way to attach documents and view them using a project created by XML Forms Builder ?
Regards
RajendraSolved
-
Problem in XML Form Builder development
I am developing some KM Navigation iView template with XML Form Builder . I create a label , when it be clicked , relative files will be download to local PC. But the caption of the label is the complete path of the file, not "file down" which I expected.
I need help, Regards.Sonal,
You can check
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/fe743c74fa6449e10000000a11402f/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
James -
ERROR for save a form created in XML Form Builder
Hello everyone:
I am having an error message when I try to save a form in the XML form builder and I donk know what I need to do for fix it.
Warning:
An error occurred when copying temporary files. The saved project state can be opened in the XML Form Builder, but the old state will be generated. The error was: An unexpected error occurred: null.
If anyone knows how to fix it I'll thanks your help!
TzitziHi, someone can help me with this?
-
XML Forms Builder Errors after SP Stack 14 upgrade
Hello,
I upgraded development portal to NW04s SPS14 (from SPS11).
In XML Forms Builder, try to open my existing project but not succedd. I get the message "Operation Timeout".
"The current operation timed out and was aborted. This was caused by network communication problems . Some data may have been lost.try again later"
After click cancel, I get a second message:
"There are no projects stored on the server"
In KM content, etc folder, xmlforms , I can see all my projects !!!
Of course, no network problems exists.. portal is working ok, ...
I applied OSS note 1150307 - "Internal Server Error when accessing XML Forms Builder" but I have the same problem.
Any idea¿?
Thanks and Regards
Noemí LlanoHello, I did a test...
from the same client machine ...(with JRE 1.6.0_03) I start XML Forms ....
with SPS11 portal, I can see the Projects.
With SPS14 portal, I can not see the projects
Thanks and Regards
Noemí -
XML Forms Builder - Create XML in external System
Hi,
Is it possible to create a XML file in a system external to Portal (the DataModel is the same) and after uploading it to the Portal and obtain the same behavior (rendering) of a XML created in Portal by the form generated by XML Forms Builder?
I've tried to do it, but the file is not rendered as expected.(It appears the XML File but not rendered by the XSL generated by XML Forms Builder).
Regards,
AndréI found the solution in the following threads:
[https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013|https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013]
[https://www.sdn.sap.com/irj/scn/thread?messageID=823596|https://www.sdn.sap.com/irj/scn/thread?messageID=823596] -
XML Form builder - Issue with Reset button
Hi Experts,
Using xml form builder I have created a project.In the show form I have added the "Reset" button.
This reset functionality is working fine during creation of new xml file item.
But when I am editing the existing xml file , onclick of the "Reset" button it is not clearing all the data fields instead it is clearing the newly added data.
Please sugguest me how to achieve this functionality of clearing the fields during editing existing file item.
Thanks,
Regards,
Rudradev Devulapelli.Hi Rudra,
Try writing custom java script and call the same in the button click.
~Priya -
XML Form Builder-Problem with the save button
Hi All,
I created a project in XML Form Builder.
I included a button "Save" in my project.
All is working fine when i preview my project in XML Form Builder.
The problem is when i run my project with iview.
I suppose the form to save my input and then to be closed but
unfortunately it did not.
I don't know where the problem is as in the XML Form Builder everything seems ok.
Thank you for your help!
Regards,
AriHi Carsten,
Thank you for your help.
There is no javascript error in the form.
In the status bar when i have my mouse over the button i can see "javaxcript:HrefSubmit('save',"");"
And when push the button "Transering Data..."
I created the form in the Xml Form Builder and in preview there the project works.
What do you mean "Did you access your Form using the KM Admin Explorer via a comman?"
How can i have acess there?
I appreciate you help!
Regards,
Ari -
Error in news created in XML Form Builder
Dear Experts
I have created news in XML Form builder (three forms edit, rendered list and show). Created two iviews NewsExplorer and NewsBrowser.I have exposed these iviews for relevent users. Now the problem is the edit for and the show form of the XML news is not working for few users. While opening the edit form and show form for few users it is giving the below portal runtime message.
BEGINING OF ERROR MESSAGE----
Access denied (Object(s): com.sap.portal.system/security/sap.com/NetWeaver.KMC/low_safety/com.sap.km.cm/components/xmlformpreview).
END OF ERROR MESSAGE----
Appreciate your response.
Regards
Shanmukha Rao BanisettiTry adding everyone group to the low_safety security zone...
Maybe you are looking for
-
SSO regapp registration with multiple net names
Hello! I succesfully configured my apex engine to work with SSO authentication. I used in regapp.sql l_listener_token := 'HTML_DB:myhostname.mydomanin.com:7777'; and now the home page link works fine: http://myhostname.mydomanin.com:7777/pls/htmldb/f
-
Aligning text, removing artwork
I noticed that the text that appears on the screen for a couple of Cake songs justifies to the left of the ipod screen. I like that and would like to do that for all the songs and I don't care about loosing artwork in the process... thanks in advance
-
I would like to use time machine or back up ONLY my mail. Is that possible? Thanks. Mike.
-
Newsstand Won't Display Subscriptions without Wifi on iPad Mini?
I have a 16GB iPad mini with wifi and I have two subscriptions on Newsstand. I've already downloaded the latest issues when I was connected to my wifi at home. I had hoped to be able to view my subscriptions while commuting to work, but every time
-
I have an I Phone and the volume of an incoming call is too low and I cannot adjust it
My I phone 4 has just recently lost it's volume on incoming calls, there appears to be no way that I can increase the volume