XML Forms: save form in "Show Form" Mode
Hi All,
Is there a way to have 2 edit screens in XML Forms?
My scenario:
1) user creates form
2) admin reads form and changes the property "status" to "form read" (a field that the user does not see) and saves.
Is this possible?
I can add the controls for the "status" input and save button.
But when in Display mode I click on the save button and it errors.
Cheers,
Vic
Message was edited by: Victor Yeoh
In the URL Generator Service, XML forms CSS file path changed. I've reset the XML forms CSS file path to /irj/go/km//etc/xmlforms.
This resolved our issue.
Similar Messages
-
Infopath Form Web Part not showing form
Hello,
I recently edited a list form in a InfoPath 2010 and published it to my site. When clicking on "Add new item" it works fine. The new form shows up and all is well. The idea though was to enable the form from a separate page by using
the InfoPath Form Web Part. We have other forms setup this way on our site that work fine, but for some reason, when I added the web part to the page, pointed it at the list and set the custom content types (only single option anyways as the list is
built on a custom content type) nothing is displayed within the web part.
I can't find any difference between my form and the already created forms, but as I didn't create the ones that are working I may have missed some setting. There is no error, no message, just a blank web part... Actually, that's not true. When I
check in the page I see nothing. But when I publish it, I see only a close link and a bit of a header div.
If anyone would happen to have seen this before, know what it is or know how to fix it I would be greatly appreciative.
Thank you.Hi David,
From your description, you published an InfoPath form to SharePoint list, and it worked well in the list. However, when you added an InfoPath form web part to another page, it displayed as image.
I could not reproduce the issue, I just selected list and content type, left all other settings as default, it displayed as expected. Did I miss anything during reproducing your issue? Did you make any customization to web part or InfoPath form?
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
How to get back from Show form to Render List form in XML Forms
Hi,
As we use the Hyperlink "Display" in RenderList form to go to Show form similarly what kind of hyperlink shoul we use in Show Forms to get back to RenderList Forms.
We did try out with the Back option but are not getteing the desired result.
Sweta..HI Sweta ,
Havent worked much on this but can refer.
/thread/4878 [original link is broken]
/thread/100920 [original link is broken]
XML Forms - How to render a sequence node?????
/thread/240057 [original link is broken]
/thread/147252 [original link is broken]
/thread/189120 [original link is broken]
Thanx
Pankaj -
Hey folks,
could somebody help me please?
I will put an Navigation built with images in my XML show form.
I bulid this in an other HTML-Editor and would like to copy it into the XML show form but the images arn´t shown.
In which directory I have to copy this images and how is the path for it?
Can somebody help me?
Thanks a lot greetings
ALHi,
I have the xsl File from the XML Formsbuilder. With this file the show form is built!
In the XSL I will put in HTML Code. This is not a problem.
But I will put in a picture!
Example:
a href="#kontakt" name="menue">img border="0" src="1.gif" width="200" height="25" alt="Kontakt/Kurzinfo"></img</a
But I don´t know the correct path for the image source!
I copied the image into the project folder etc/xmlforms/project-folder
But as I created a new form, the pictures are not showed.
This is my problem. In which folder I have to copy the images and how is the path?
Greetings
AL
Edited by: Arthur Leichner on May 6, 2008 10:50 AM -
Filter Predefined Properies, Feedback Search, XML Forms Show form issues
Hi all,
I have created XML forms with XML builder and I have some questions.
1. When filtering by predefined properties I want to filter by two properties, which are the same. For example, if there is a publication with two authors and author is the predefined property, in the first field I write the name of the first author, in the second field I write the name of the second author, the result is all publications, which are by both authors and all publication, which are either by the one, or by the other.
I don't have this problem when I filter by two different predefined properties. For example the author and the year. Than the result is all publication, which are by the author AND published in the requested year.
How can I set this option to be able to filter by two same predefined properties and the relation between both properties to be AND?(only publications by both author)
2. In the Show form I have created link to the feedback, using XML Forms BUilder, but I need to write first the feedback to be able to see already existing feedbacks,
if there are any. In the ResourceRendering Form I have created link to the feedback by LayoutSet, where I can see first, if there are already existed feedbacks.
If there is any possibility to set a LayoutSet for the Show Form or any other way in the Show form to display first the existing feedbacks and than to be able to write a new.
And something else reffering to the Show form, is it possible to rate the item from Show form or at least to have link to the rating, not a link to the Details.
I have tried to create a link to the /Properties/col:rating, but it doesn't work. The link dispays the value, if it has been already rated.
3. Is it possible to search for any information in the feedbacks(to make the feedback searchable)?
Thanks in advance for any help.
Best regards,
ZlatinaHi Zlatin,
-> 1
By Default identic properties queries are connected by an 'OR'.
Please have a look into the documentation for further info.
http://help.sap.com/saphelp_nw04/helpdata/en/85/80b3d4c9ef11d5993e00508b6b8b11/frameset.htm
-> Search Options
So far it's not possible to connect two identic proerties by an 'AND' within the standard.
You can preset a search filter via the relevant Search Option Set.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/765140c770cd01e10000000a155106/frameset.htm
Regards Matthias Röbig-Landau -
In XML Show Form display Creator FirstName and LastName ?
Hi all,
In XML Form Builder i want to display the creator FirstName and LastName ( Diamond Admin) in the Show Form.
For egs:
Logon ID: diamond_admin
Last Name: Admin
First Name: Diamond
In the EDIT Form By using $sap_user and also createdBy property i'm getting the creator name as diamond_admin but i want to display the FirstName and LastName (Diamond Admin).
2)In the EDIT Form i used the Label for Time Based Publishing(TBP)
Opening Date = TimeStamp control
Closing Date = TimeStamp control
In the RenderList Form i'm showing the Closing Date label its display the date and time.
Closing Date= 05/12/08 08:00:00 PM
But i requirement is to show the closing date only not time(Closing Date= 05/12/08) in the RenderListItem Form..
How to do this?Please help me...
Regards
Thillai JWhen you are editing the Show Form, select the correct label in the form and in the property list area (bottom right) you have a property named "Display As". Select "Display Name" for the value.
Make sure that in your Data Model your property has the data type "user"
The "Display As" parameter should also work for your date problem as you can select "Short" to only display the date. -
Hi Experts,
I have a requirement in XML Forms, When I click a particular news item in Renderlist Form, I need to display the Show Form in the same window without opening a new window. If it is possible, please guide me, How do I do that? And also, can I specify the size of the Show Form?
Regards,
Venkatesh. KHi Venkatesh.
To realsize your ideas you have to build your own XSL or to customize the SAP generated XSL files. We build own XSL files.
1) It is possible to present the Show Form in the same window.
Go to the JAVA SCRIPT SECTION. It is mostly at page bottom. The function open_url_with_params(url,params) is used to open the Show form. In this function window.open(url,'_blank',params) is called. Replace _blank to desired value, e.g. _self.
2) If the Show Form opens in a new window it is possible to specify the size and position of this window.
To realize this go to the link references Show form (open_url_with_params). The function is called with the url and some parameters, e.g. toolbar=no, ... . Add the params width, height, top and left here.
Regards,
René -
Process flow between edit ,renderlistitem and show form in XML form builder
Hi all ,
i'm building from in xml from builder . i'm confused with the process between edit ,renderlist item and show froms .can any one please explain me the Process flow between those
thanks,
rajeev.Hi Rajeev!
There is no process flow between those forms. They are seperate views of the same document, nothing more.
The Edit form is always used if you create or edit a xml document based on the form.
The renderlist item form is used if more than one XML document is shown, for example in a list.
The show form ist used if the document should be displayed in full, eg by clicking on an XML document in a list.
It is even possible to add more custom forms and display them. If you "preview" an XML document, you get the choice to display the document with all display forms available (default Renderlist item and Show). If you watch the URL when previewing a xml document you'll see an URL parameter selecting the form to show.
Regards,
Jürgen -
Hello All,
I am trying to develop an XML form wherein Edit form i have an HTML editor and in Show form i want to display the message that in edited in Edit form. But when i run the Show form, i text is displayed like this:
<FONT color=#242424><STRONG><SPAN class=urFontStd><SPAN class=urTxtEmph><FONT color=#242424><STRONG> <P>Alert! </P> <P>Change This is an HTML editor </P></STRONG></FONT></SPAN></SPAN></STRONG></FONT>
Idealy it should only display "This is an HTML editor"
I have taken this as filed as a lable in show form and in edit form it is HTML editor.
What could be the reason..
Kindly help me solving this issue..
Regards,
Ameya
Edited by: Ameya Pimpalgaonkar on Sep 15, 2008 1:09 PM
Edited by: Ameya Pimpalgaonkar on Sep 15, 2008 1:10 PMCan you tell me exactly what you did ?.... cos i also have the same issue
-
How to use adifferent Show form to display a document created by XML forms
Hi,
I have created some XML documents using an XML form.
The XML form contains two Show forms, Show & Show2. The default is Show. When I view the XML document via a KM Docs iView the default Show form is used to display the resource.
If I wish to display the XML document using a KM Docs iView, but using the Show2 (non-default) form how is this done?
I have created Layout Sets for each of the different ways to display the XML forms, but there is no option to choose Layout Set in the KM Docs iView config.
Thanks,
Tom
Edited by: Tom Parle on Apr 3, 2008 12:45 PMHi Tom,
Check out the SAP Help site [Linking Your Own List Forms into iViews|http://help.sap.com/saphelp_nw04s/helpdata/en/0e/1affa0f8c47447a164998b60025aea/frameset.htm]
I think it explains exactly what you are looking for.
Hope it helps,
Robert -
Alternative SHOW form for XML's
Hi techies,
I have made a XML news form with two SHOW forms. I need to show one group of users the first one the other group the other one. Has anyone a idea? I have been searching on SDN and could only find this procedure
1) Create a news form in the XML Forms Builder with multiple shows
2) In CM Configuration create a new XMLFormsResourceRenderer for the second show and enter the name of the new form
3) In CM Configuration create a new Layout Set using the XMLFormsResourceRenderer
4) Create an iView using the Layout Set
So the idea is to make a layoutset to SHOW and a layoutset2 to SHOW2
in thread https://www.sdn.sap.com/irj/sdn/thread?threadID=7591
Its clear to me but has anyone made such a resourcerenderer before? Can anyone give me some extra help on this specific case? Or are there better sollutions. I'm not a java developer yet.
Thanks in advance, I rewards points to usefull answers.
Frederik DefourHello,
Yes indeed, I also had the idea to create multiple iviews and assign these to the appropriate users. But instead of having a different list form, I would also like to have a different SHOW forms. The idea is that user group 1 has all xml fields, while usergroup 2 only is able to see a limited subset of these fields. (news for internal users and news for website). I think that I will need to make different list forms as well. Because the list of type1 goes to the show type 1. And the list of type 2 should go to the show type 2.
But if you can provide some extra technical details, please do.
Thanks already,
Frederik -
How to go back from SHOW form to RENDERLIST form in XML forms ?
Hi All,
I want to know the value of hyperlink property of the label of Show form in order to go back from Show form to Renderlist Form. Its Urgent ..... Plz reply ASAP if anybody knows about it.HI Sweta ,
Havent worked much on this but can refer.
/thread/4878 [original link is broken]
/thread/100920 [original link is broken]
XML Forms - How to render a sequence node?????
/thread/240057 [original link is broken]
/thread/147252 [original link is broken]
/thread/189120 [original link is broken]
Thanx
Pankaj -
Transition to Show Form in XML FOrms??
Dear SDN,
I have a requirement in which i have to display the news summary in RenderListForm and its Details in the Show Form but the Show Form Appears in a New POPup window, which is Counter to our requirement.
How to get Show Form Content in the Same active window and Avoid Popup window.??
Please help me with the same.
Thanks in Advancehai suresh
create 2 km navigation iview.in iview propertise set one is news browser,and another is news explorer,assign this to iviews in to single page
i think now u get both forms in same page -
Back action from XML Show Form to XML RenderList Form
Hi to all, I have this problem:
When I click on my news (renderlist form) i open in the same window my news detail (show form).
Now i stay in my dhow form... i must click on "back" image to return to my Renderlist form.
I set the hyperlink on my "back" image to "http://"portalname":50100/irj/portal/"my quick link".
Now when i click on "back" image i return to my renderlist form but i open another poral page with mastheade, ecc, ecc.
THIS IS MY PROBLEM
Help me if possibleHi, Tardin!
I'm faced with same problem. Have you found any solution? -
How to Save State on an Entry Form prior to Submitting the Form?
I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
thanks
Message was edited by:
javaX"My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
Here's an overview of how I set the page up:
1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
2. transient VO added to Application Module
3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
4. Add code to AM to create the initial row for the input form
protected void prepareSession(Session session) {
super.prepareSession(session);
insertTransientViewObjRows();
private void insertTransientViewObjRows() {
ViewObject transientvo = getViewObj1();
transientvo.clearCache();
transientvo.insertRow(transientvo.createRow());
--- Entry Form .jspx pagedef.xml snippet ---
<executables>
<iterator id="MyIterator" RangeSize="10" Binds="MyView"
DataControl="AMDataControl"/>
</executables>
<bindings>
<attributeValues id="sponsorid" IterBinding="MyIterator">
<AttrNames>
<Item Value="sponsorid"/>
</AttrNames>
</attributeValues>
--- Entry Form .jspx page snippet ---
<h:form>
<af:panelForm>
<af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
<af:panelGroup layout="horizontal">
<af:inputText value="#{bindings.sponsorid.inputValue}"/>
// state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
<af:commandButton text="Lookup Details"
action="lookup-page" immediate="true"/>
</af:panelGroup>
</af:panelLabelAndMessage>....
// state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
<af:commandButton text="Continue to Next Step" immediate="false"
action="nextpage"/>
Message was edited by:
javaX -
Re: Enable Save ,Delete buttons in Form
Hi All,
I using Jdeveloper 11.1.2.3 ,
My scnerio is i am taking 2 panel tabs One tab contain table i.e List, second tab contain the Form i.e Details ,
I am taking Save,Delete,CreateNew buttons, Whenever i am in List Only CreateNew buttons should enable mode,remaining 2 buttons is in disable Mode.
and in Details form Save and Delete buttons is Enable Mode.
How Can i achieve this requirement,
With regards,
satishkumarThanks for your Rply Timo,
I have lot of forms in Application, thats why i am globally defined all the Buttons.
WithRegards,
satishkumar N
Maybe you are looking for
-
Hi! I'm having trouble opening a indd-file. It was sent to me as a zip-fil along with the used fonts and links. When I try to open the file, I'm getting this error: "Either the file does not exist, you do not have permission, or the file may be in us
-
Two Apple ID's for two different people on same computer causing issues
My husband and I have two different Apple ID's on our main computer. I tried to download some items I bought but I keep receiving a message that if I download from another ID I wouldn't be allowed to download past or current purchases from another I
-
How do I recover a device deleted from the Finder sidebar?
I connected a Garmin Edge 800 GPS unit to my MacBook Pro to backup its files. I made a file on the computer named "Garmin" to copy the files into. In the sidebar, in Finder, two devices showed, one named "Garmin" and the other "No Name" which is the
-
Unable to connect using Enterprise Manager
I have Oracle 9.2 installed on w2000 server and it was working fine when I use isqlplus and sqlplus. However, after I type in the userID:SYS and password to expand the tree of the database when I use Enterprise Manager , it gives me the error ORA-125
-
J2SDK 1.4.1 Install on Win2K does not install Development Tools
I've tried installing, re-installing, removing and installing the JDK 1.4.1 and it WILL NOT install the GUI development tools. Any hints or clues as to how to fix this?