Form Builder storing results as WDDX
A while back i wrote a form builder. To store the results of
a form submission I decided to use wddx and save the xml string
into the db, which seemed like a good idea at the time. Further
down the line this form builder has been used for much larger forms
and sheer amount of data being store as text is making the server
crash when it has to be serialized or deserialized.
I was wondering if there is a better way to store this data,
obviously storing the data in tables would be a bit of a pain as
the form builder is dynamic and can have any number of fields.
I decided against storing the wddx data in a text file as i
was worried about read/write locks on a busy form. Was i wrong to
go down this route?
Hope someone can help
Matt
cf_matt wrote:
> Ian
>
> yes i think thats right
>
> so i have:
>
> form_id | form_name | form_recordset
> 1 enquiries <WDDX>
>
> I did think about storing name and value pairs in a
table but then that would
> be huge amounts of records
>
First of all, don't be afraid of a huge amount of records.
That is what
databases are designed to deal with. A great many very smart
people
have spend a great many hours making database management
systems very
efficient at processing huge amounts of records for the past
fifty years
or so. Personally, I trust their work to be more complete
then anything
I can cobble together on my own.
Secondly, I would at least break it up so that each complete
form submit
is one record in the database. Then at least you are dealing
with a
constant sized WDDX packet, not one that is growing with
every new
record append to the data.
Similar Messages
-
Can Oracle Form Builder 10g open forms created with Developer 11g?
Hi,
Two different groups of developers developed forms in both Forms versions 10g and 11g. There will be call_forms between both versions and both will run under the same portal. Production is 10g. Is it possible to open 11g forms in 10g Form Builder? Suggestion/ solutions are appreciated.
Thanks,
VictorIt is likely you will run into issues, so I would say best not to. I have done it a couple of times by accident during migration of Forms 10g to 11g. You can still open and view the 11g forms code in the Forms 10g builder, but will likely see some objects appear as incorrect types. Saving the 11g form in such a state from the 10g Forms Builder may result in corruption.
-
Oracle Forms Builder 10g Questions
Good day everyone,
I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
* Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
* Populate a field[s] after pressing a search button based on a SQL query
* Populate a field[s] on launch based on a SQL query
* Throw a warning message if an SQL query returns with a specific result
* Populate a drop down menu based on a SQL query (ie only show valid options to user)
* Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
FRM-18108: Failed to load the following objects.
Source Module:utlf_gui
Source Object: TOOLBAR_MDI
+... (many more of the one above)+
I press ok and get the following error:
FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
+... (many more of the one above)+
From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
Forms_Path = C:\<project path>\Lib\ (This is the folder in the project folder where all the PL/SQL libraries are stored)
Forms90_Path = C:\<project path>\Lib\ (This is the folder in the project folder where all the PL/SQL libraries are stored)
I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
Also if I try to attack a PL/SQL library I get the following error:
Attached library name <name> contains a non-portable directory specification. Remove path?
I press yes or no and get the following error:
PDE-PLI038 Cannot open file for use as a PL/SQL library.
Any help is much appreciated.
Edited by: ThomasBoxall on 12-Dec-2011 12:18 -
Change font size in Forms Builder?
I wonder if it's possible to make the Forms Builder font size larger, say size 14? The purpose is to make a Forms presentation easier to follow with a big audience.
//MartinAbout all you can do is set the screen settings down, which results in everything on your screen being larger. Try 800 x 600.
-
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) -
I want to design a News like the *LInklist* by XML Form Builder
Hello:
Everyone!
Now I have another problem about XML Form Builder
I want to design a News like the LInklist by XML Form Builder
I want the result,For Example
SAP News
1news1
2news2
3news3
who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
Thanks a lot
Hope your help!Hi,
In XML Form
1) Edit form is used for designing the user interface.
2) Show form is used for displaying the xml form to the end user
3) RenderListItem is used for rendering the xml form into a small description like 1News1, 2news2 etc..
Here you need to display only the heading of the xml form
After you create the xml form
Create Layout set where you need to give the proerties like xml renderer form , no of items to display etc...
Thanks&Regards,
Raghu -
Creating a .fmb with out using form builder
Hi
I am having a template to create form modules in the forms builder, for the most of the forms I need not change any
of the PL/SQL code provided by the template. (All my business logic and information regading items in object navigator resides in the database) The only thing that I need to do is creation of fields in object navigator and provide the
sub class information for it. So I felt that It's better to have a tool which generats the requried .fmb file if the all
field details are stored in a table.
While expermenting on that we came to know that there are some functions provided by Oracle Developer6.0 that creates all
objects in the object navigator using a C program. These programs requires some header file, most of which are provided by
Oracle developer6.0 and some are missing.
Pls. let me know if any one experimented
Thanx & Regards
([email protected])u have 2 options
create amterial master with price control indicator standrd and maintin the price of mateirial in account view now create a po with free line itme and do the gr now in this case sytem will create a accounting document and it post the amount to the stock account Dr.
and no gr/ir account hit will happen as it is a free itme so there is no question of paying any amount to vendor
u can also use movement type 511 to do the gr for that free good
option 2 create am material with moving average price in this case if u do the gr then system will not create any account document but point to note here is the price will become then zero in material master as map means latest price is updated in matreial master -
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í -
Hi,
We are looking for a usefull form builder i UCM/Stellent.
We need to be able to capture form data easily.
I have tried the web form builder it works, but it has to integrate with my web application. I have tried with an iframe but when i go into contribution mode the webform is all over the screeen.
How does others capture form data in UCM/stellent, so that it integrates into a normal web-application?
regards
JohnnyAs I mentioned in my previous post, I'm not sure if there is a config param where you can modify it. Therefore, the only way that remains is a custom component.
If you are familiar with building (intradoc) custom components, you will need to identify which include and/or result set contains the displayed fields and remove it from there. It will require a bit reverse engineering (or alternatively, you will have to find somebody who possesses this info), but it's not complicated. In fact, the process is well described in this book http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846 , chapter 9. It's a bit too long to be described in the forum.
Btw. if there is a way to configure the param, you will find it during the reverse engineering. -
Doubts regarding XML Form Builder
Hi All,
I am having some doubts regarding XML Forms (Projects) that is created using XML Form Builder. Where are exactly these projects stored. Can I edit these projects and add my own Java Functionality in these. And also the data which I fill using these project where is it stored. Suppose New Project I ve created using XML Form Builder, now I want to feed in the news. Where exactly are these news stored.
Thanks in Advance
AnishHi Anish
You can make the standard settings and modify the XML forms builder in line with your requirements in the options. You can set the standard paths for your project on the <b>Paths</b> tab page.
To get a clear understanding, please go through this link.
http://help.sap.com/saphelp_erp2004/helpdata/en/62/ca6f365a6df84e87ba085f9b5fb350/content.htm
Hope that was helpful
Warm Regards
Priya -
Hi,
I have an news application to be developed in XML Form Builder. I am creating News Author part of it. It has an Date field where i have to do an validation like the user cannot enter date less than the current date. I can perform simple data type validation through the form builder. Can I perform the above said validation in XML form builder or is there an work around in getting this done.
Thanks in advance
Regards,
Ganeshhi,
I opened the schema of this particular application in the KM. I edited the tag for the particular application and included my restriction, so that the validation could occur. I did the same for string field in restricting the no of characters and found to be sucessful. But the same doesnt work for date field...
The tag goes like this
<element name="ExpiryDate" default="" minOccurs="1" maxOccurs="1" type="date" ns="default"><simpleType><restriction base="date"><minInclusive value="01/01/2009"/></restriction></simpleType></element>
Usually you dont have this restriction.....I have added the tag in bold.....But still validation doesnt occur.....What is the format in which date is stored????
The same worked for string field as shown below. I can restrict the entry to just 5 characters depending upon the restriction, I make in the schema.....
element name="Courtesy" default="" minOccurs="1" maxOccurs="1" type="string" ns="default"><simpleType><restriction base="string"><maxLength value="5"/></restriction></simpleType></element>
How can i apply the same to date field???
Any inputs from Consultants worked in Form Builder??
Thanks & Regards,
Ganesh N -
Path to XML form builder reports in Portal
Hi Experts,
I am facing one issue. We have few XML forms builder screens in Portal.
Those were appearing fine but now one of them is not appearing properly.
Please let me know under KM , where these reports are stored so that I can check whether these reports.Srini,
The XML forms are under etc-xml forms.
However, if the forms are not appearing properly, you would have to open it in XML forms builder and check.
Assign yourself the Content Management role. Check this wiki for more details.
http://wiki.sdn.sap.com/wiki/display/KMC/XMLFormBuilderinEP7.0
Regards,
Sandeep Tudumu
Edited by: Sandeep Tudumu on Jun 14, 2010 10:16 PM
Edited by: Sandeep Tudumu on Jun 14, 2010 10:17 PM -
XML Form Builder does not load
I am having the following problem, when executing the Form Builder tool under Content Management, it does not load and i get the following error message:
CONNECTION ERROR: couldn't read response code*
And sometimes the window gets freezed.
I have read some previous Threads regarding this issue but the solution did not work to me.
Someting really strange is happening because if i log to port 80 (http://...) it works, but when I log to port 50000 (https://...) it does not, and that error message pops up.
I have alredy run the Enviroment check Tool and results were OK in both urls, as follows:
<i><b>https://*****.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 13:12:48 *
End Time: 2006-12-05 13:12:04 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:04
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:13
- Successfully loaded XML Forms Builder Jar from https://***net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
- Test: Download SAP XML Toolkit Jar
- OK
- Start Time: 2006-12-05 13:12:13
- End Time: 2006-12-05 13:12:47
- Successfully loaded SAP XML Toolkit Jar from https://****/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 13:12:47
- End Time: 2006-12-05 13:12:48
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:48
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 13:12:48
- End Time: 2006-12-05 13:12:03
- Successfully loaded project list:
http://*******.net/irj/portal
Test Environment: XML Forms Builder Environment Check *
Start Time: 2006-12-05 14:12:33 *
End Time: 2006-12-05 14:12:46 *
- Test: Java Environment
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:33
- Java Runtime Version is 1.4.2_13
- Test: Connection Tests
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:46
- Test: Download XML Forms Builder Jar
- OK
- Start Time: 2006-12-05 14:12:33
- End Time: 2006-12-05 14:12:23
- Successfully loaded XML Forms Builder Jar from http://****.net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
- Test: Download SAP XML Toolkit Jar
- OK
- Start Time: 2006-12-05 14:12:23
- End Time: 2006-12-05 14:12:27
- Successfully loaded SAP XML Toolkit Jar from http://*******.net/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
- Test: XML Forms Builder Version
- OK
- Start Time: 2006-12-05 14:12:27
- End Time: 2006-12-05 14:12:28
- XML Forms Builder client version is 6.4.1, server version is 6.4.1
- Test: Load Global Settings
- OK
- Start Time: 2006-12-05 14:12:28
- End Time: 2006-12-05 14:12:29
- Successfully loaded XML Forms Builder settings
- Test: Load Project List
- OK
- Start Time: 2006-12-05 14:12:29
- End Time: 2006-12-05 14:12:46
- Successfully loaded project list:
</b></i>
Don't know what can be, so if anyone has any idea it would be very helpful.
Cheers,
Ivan MilkovicHello,
Immediately after opening the XML forms editor from the Content Manager page, you will get a link Start Environment Check Tool.... Click on that and proceed for a check. It will take some 5-10 mins based on your connection speed.If every thing is successful, clear the browser cache and restart the browser and open forms editor again. It will open the data schema and properties filed and project browser and all.
I was having this problem just now and i resolved it with the above steps.
My JRE version is 1.6 and portal is EP 7 SPS 21 patched.
Regards
BP -
Form builder Language problem under linux
Hello,
i have a problem with my form builder 10g under RHEL 3,
when i write a simple text with in other languages other than English -- russian for example the inputs are not mapped correctly i mean i input a character and it displays other than expected and in the compiled applet the text is always in english,
i have motif 2.1 with latest patches and bidi and Complex Text layout,
and also i've set the NLS_LANG and locale , but i couldn't till now write correctly in any other language except english
is there is any configuration files need to be edited or variables set , can anybody help with this , any links or docs are appreciated. thanks
scenario
Set locale russian
set NLS russian
run builder
write text and run un web browser
result text other than enteredHi,
If you used the standard installation for reader, the path should have been /usr/lib32/Adobe/Reader8/bin and not /usr/lib32/Acrobat/Reader8/bin. Could you confirm how you performed the installation?
The solution is to uninstall and re-install the reader using the standard location. We highly recommend that you install under /opt if it's a system-wide installation. Installing under /usr/lib32 seems strange given that the reader consists of more than just libraries.
If that's not possible, you can fix it by tweaking the INSTALL script that is part of the language pack installer. Change line 198:
from:
198 if [ ! -d "$dir/Adobe/Reader8/Reader" -o ! -d "$dir/Adobe/Reader8/Resource" ]
to:
198 if [ ! -d "$dir/Acrobat/Reader8/Reader" -o ! -d "$dir/Acrobat/Reader8/Resource" ]
and specify /usr/lib32 as the path of installation when prompted.
Let us know how you progress.
Gaurav -
XML Form Build Error Unexpected http response code 500: Error
Dear All,
I am facing the error when I am starting the XML Forms Builder.The tool checks the environment in which the XML Forms Builder is running (xfbuildertest.html)
I am getting the following result :
- Test: Connection Tests
- ! Test Failed !
- A test in the suite failed
- Test: XML Forms Builder Version
- ! Test Failed !
- Unexpected http response code 500: Internal Server Error
Test: Load Global Settings
- Not Started
- This test depends on the test "XML Forms Builder Version", which did not complete successfully
- Test: Load Project List
- Not Started
- This test depends on the test "XML Forms Builder Version", which did not complete successfully
Please help me.
Regards
PraveshHi Lorcan.
So what exactly happens when you try to start XML Forms builder, do you get an actual error or does it just not start at all?
> Actually the News are not getting displayed . The HTML (Html tages)are not getting rendered properly in XML Form Builder.
This news are perfectly working in other environment (Dev/Qlty) but not in Production .. where i am facing the issue of rendering the news ( not in correct format as expected)
It is appearing as link. where as in my other environment the Text in proper HTML format.
(Link of News appearing in production) whereas in Dev/Qlty proper text with Heading/Font/Colour appears. Or are you only seeing errors when you run the environment check?
> I am getting the errors when running the environment check on in Production but not in Development/Quality.
Did you try it on different clients or with different users? Is this a new installation or have you recently upgraded? Are all your components on the same SP level?
> This is new installation but SP level are exactly same across the system(Dev/Qlty/Prod).
Also the check the settings and found proper..
Root Directory * /usr/sap/<System-ID>/SYS/global/config/cm/etc*
Please let me know am I missing something..
Why its not running on my production system.
Regards
Pravesh
Maybe you are looking for
-
Need some help with the following: By mistake posted credit memo in MIRO instead of posting invoice in MIRO. Then reversed the credit memo by going in MR8M. The reversal of credit memo posted an invoice in MIRO. Now we want to post the MIRO invoice
-
Message -- MIME -- Combine Messages
I encountered the text of the subject line in an email that I sent to myself from a copy machine. The copy machine was suppose to scan the pages, convert them to PDF, and send them to my email account. Apparently the PDF attachment was too large for
-
Template view fine in test browser but not when a page is created from it
I'm trying to recreate a template page from my site using different code for the drop down menu at the top. The template behaves properly when i test it in Safari vs. 5.0.6 but when i test a page made from that template (using the File>New> Page from
-
How to customize title of standalone player?
I have a small Flex based calculator that I need to publish as a standalone .exe I open the SWF in the standalone player, and File > Create Projector. I can rename the file, but the title of the player window and the tab on the windows taskbar says "
-
Commit and rollback on session level
Hi All, I am calling one stored procedure and I am doing some dml operation in that sp. there after I calling another sp which contain some ddl operations. if process may be fail in somewhere I wanted to rollback all dml transactions. So I wanted to