XML forms / news no more visible as Form-based publishing

I 've a very strange behavior on my portal (EP 7.0 SPS10),
I do publish a news via XML form => the news is displaied )
After "some time" (sorry I was not able yet to force / understand how to reporduce the error) I can not see anymore the news (and I've full permissions on the folder, this does not seems to be related to validity)
In fact the xml of the news does still exists (when I browse the folder). His type (Settings -> Properties -> System) has desapear. The news I can see have a Type = Form-based publishing.
Does anyone already experience this behaviour ?
How could I reset the property type to "Form-based publishing" ?
Thank you
Vincent

Hello,
Did anyone already experienced this behaviour, this becomes critical for me.
I lost all me news one more time : the xml files are still there, but can not be displayed as news ...
Please help
Vincent

Similar Messages

  • Rating with Form-Based Publishing

    Hi everybody,
    i'm trying to get the Portal rating service to work with XML form-based publishing. The items to be rated are news, which are in a folder on which i already activated the repository service. Then I modified the layout set, adding in the resource renderer the appropriate command group to be displayed.
    The result is that i now have a command bar below the news, which can be clicked by users to rate it.
    Now I have to make the mean rating to be displayed, but it is more difficult than i thought. Here is a picture of what i would like:
    [Image|http://www.mypicturehost.com/show.php/57948_Immagine.jpg.html]
    where the red circle is the part still missing.
    Do you have any idea on what to do? I suppose that if i want to display the data, i have to add something to the XML, and to the XLST rendering it, too. I just don't know where to get that data, and how.
    Thank you in advance.

    Hello,
    I assume your layout set is rendering one of the forms you developed on a xml form project,
    open you project and check your Data Model, under Properties > Collaboration you might find
    the property Rating.
    If you can't see this property there, go on portal
    Content Management > Metadata > Property Metadata > Properties
    and search for cm_rating, make sure the Hidden+ parameter is uncheked, if it isn't, do so,
    save, refresh your data model and it should be visible.
    You can then assign it to a Control Selector and based on its values display the stars properly,
    or just assign it to a label and display as integer, doesn't really matter, once you have the Rating value
    you can work the way it suits you better
    kind regards,
    Rafael

  • XML forms based content authoring

    Hi All,
    I was wondering if UCM suite provides any XML forms based authoring as provided by many other Web Content Management product suites OR Site Studio or Site Builder are the only ways to create the content?
    What exactly I am looking for is the very conventional way of creating content using XML forms based templates and then applying XSLT to it to generate the output in desired format.
    Please let me know if any one know about this or will be helpful if somebody can provide pointers on this.
    Thanks-
    Sahil

    UCM provides Web Forms functionality. Take a look at Web Form Editor - the component to Oracle Content Server.
    Web Form templates can be visualy designed using Web Form Editor.
    When user fills in and submits designed and published web form, new content item is created - a form with the data. Data is stored as XML document and can be passed through the workflow for aprove process or integration into back office systems.

  • TREX Indexing issue. Form based publishing XML files.

    In order to test my TREX indexing functionality, I have created a lot of test XML files (with form based publishing) containg test words.
    What I experiments is that TREX only index the words that is presented on the 'Show' form of the xml document. The template created in the XML Forms Builder that is used to present the document. But thing is, that I only want to index the words from the XML source file, not from the 'Show' form template. Because on that i only have a static label with constant text.
    How do I set TREX to index the source XML file and not the show form template representation of the file?

    Hi Flemming,
    this works as designed. If you want index the whole XML data, you have to store your XMLForms items in a repository on which no "XMLFormsResourceFilter" is defined.
    But if you do that, all the items are rendered as XML and not as HTML. So the SearchResult only gives you links pointing to XML files.
    The only way to index more informations (from my point of view) is to store your additional information into ResourceProperties (you have to design your XMLFormsProject). These properties can be found by the search, if they are set to "indexable=yes".
    Hope this helps
    --Matthias

  • Importing third party XML files into form-based publishing

    Hi,
    I want to import third party XML files into form-based publishing. My problem is that when I open the files, they are presented as normal XML files.
    The 'type' property is not set to "form-based publishing". That's the reason no form is linked to the XML file.
    Is there a way to change the value of this 'type' property? Then I can set it to "form-based publishing".
    Message was edited by: E. van der Palen

    Hi,
       You should take into account two things:
    1. XML Repository filter
    System Administration-System Configuration-KM-CM-Repository Filters-choose XML Forms Repository Filter
    edit it and add your repository.
    After that you have to restart it.
    2. Resource Type.
    You should modify cm_resourcetype property to set form-based publishing.
    You could edit this xml file using form builder and then set this parameter.
    Patricio.

  • Form-based publishing

    Hi Experts,
    We have an issue with Form-based publishing.
    The documents (News Items) are stored in the KM repository as XML documents, but are edited and viewed in the browser using HTML forms. All of sudden all the News items under KM repository are converted to xml file due to copy/paste method at file system level (Not through KM). And the layout set (NewsBrowser) which we have used to render the news items are not working, it show an empty page.
    What could be the reason and is there any procedure so that we can restore all the news items as Form-based publishing.
    Thank you in advance
    regards
    sunil

    Hi,
    first backup the XML files ;o)
    Then try this (I suppose all the resources are from the same XMLFormsBuilder project):
    1) create a template XML forms news resource in the documents repository
    2) create a destination folder for the news in the KM
    3) copy all the XML to the dest. folder
    4) now goto (you have the ContentManager role) Content Management -> Reports -> Running Reports(related links) -> Goto reports -> Content Administration -> Mass operations -> Propagation of the properties
    5) click Start -> define name, set the location to the destination directory (for example /documents/newsforms/)
    6) click Commands -> check Propagate Properties -> set Property Template Resource to the RID of the template news you have created in the documents repository (for example: /documents/10e87f94-faf4-2b10-1bbb-a1e7aa71470f.xml), Properties for propagation set to "cm_resourcetype", check Overwrite Existing Properties
    7) click "Start"
    8) check the results
    9) enjoy
    Romano

  • Form-Based Publishing / Forms Availability API

    Hi all,
    someone knows if it's possible to manage automatically the forms availability through APIs?
    Or if i can use the RenderConfig.properties instead of the Form-Based Publishing iView of EP6 SP2 pl6, and in wich way.
    thanks!!
    Gennaro

    Hi Gennaro,
    (a) The Forms Availabiliy settings are stored in the ConfigFramework. So you can use the API for setting/getting data from the Config.
    (b) The RenderConfig.properties is deprecated. It should no longer be used. Since SP2 this file is only be read while startup and the data is merged into ConfigFramework
    Kind Regards
    --Matthias

  • XML structure from Form Based Published Document

    Hi experts,
    I want to read the contents of a Form Based XML Document to my Web Dynpro project. I'm using this code to do so:
        wdContext.currentContextElement().setText(wdContext.currentTableContentElement().getObjectName());
        readXML(wdContext.currentTableContentElement().getLink());
    IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
    com.sap.security.api.IUser sapUser = wdClientUser.getSAPUser();
    //create an ep5 user from the retrieved user
    com.sapportals.portal.security.usermanagement.IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);
    IResourceContext context = new ResourceContext(ep5User);
    /Specify the path of ur document here./
    RID pathRID = RID.getRID(wdContext.currentTableContentElement().getLink());
    IResource resource = ResourceFactory.getInstance().getResource(pathRID,context);
    InputStream in;
    in = resource.getContent().getInputStream();
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    byte[] buffer = new byte[4096];
    int bytesread = 0;
    while ((bytesread = in.read(buffer)) != -1) {
    out.write(buffer, 0, bytesread);
    String myData = out.toString();
    wdContext.currentContextElement().setText2(myData);
    The problem now is: When I'm reading the contents of a Form Based XML Document I'm getting HTML code from the document.
    When I try to do the same with an XML document that wasn't created by a XML Form, I get the contents in default XML markup.
    My question is: how can I get the Form Based XML Document to my Web Dynpro Project in default XML markup?
    Thanks,
    Edwin van der Palen

    Hi E.,
    I guess this an XML namespace issue. I'm creating XmlForms-style documents and had to add an XML namespace to my root element to make them visible as such:
    Namespace xf = Namespace.getNamespace("xf", "http://www.sapportals.com/wcm/app/xmlforms");
    root.addNamespaceDeclaration(xf);
    So what I'd suggest to you is reading out the IResource and treating the content as XML:
    Document document = new  SAXBuilder().build(content.getInputStream());
    Element root = document.getRootElement();
    Namespace xf = Namespace.getNamespace("xf", "http://www.sapportals.com/wcm/app/xmlforms");
    root.removeNamespaceDeclaration(xf);
    Hope this helps!
    regards,
    Christian

  • 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.

  • How to achieve Single content but multiple views in XML form builder

    Hi,
    I have requirement something like this.
    I am using xmlform builder to generate the content template for our portal.
    I have 5 links where I need to render html content dynamically. I am using NewsExplorer and NewsBrowser layout. Presently I have created  5 xmlforms project and design the layout in the renderlist item. I am not satisfied with my approach. It seems very inefficient of doing it as all the content layout is same. but all the different iviews  has different content to pick.
    To make myself clear I am giving with an example
    I have two iviews
    Policy1 and Policy2 which are KM Navigation Iviews whose init path are diferent path to get the different content.
    As the content has to generate dynamically , I am using NewsAuthor to create the content.
    To achieve this , I have created 2 xmlform project( though the rendering format is SAME) and 4 iviews  ( news explorer and newsbrowser for each ie policy1 and policy2).
    Since I need to generate some 100 contents like this .
    I do not think my approach is a very efficient one though the rendering format remains same.
    I wish to achieve this by using one xml form project , one News author and one news browser to create different content as long as the rendering template format is same
    this is something like this
    when I click on the Policy1 link for content creation , It should only shows Policy1 content format . and should not display the content authoring for policy2. This holds good for the viewing also .and also I would like to create only one xml form project as long as the rendering format is same.
    can anyone please tell me how to achieve this ?
    thanks in advance
    pk

    Hi Jasmine,
    To make your project link alone visible, try this
    To make the global setting for the availability of XML forms, choose Content Management > Form-Based Publishing > Forms Availability > Global Setting.
    To make specific settings for folders, choose Content Management > Form-Based Publishing > Forms Availability > Folder Settings.
    You need to give the name(s) of those XML project(s) you want to display in the Forms to Include parameter in the Settings for Folders.
    Forum reference:
    /message/1371270#1371270 [original link is broken]
    /message/1313368#1313368 [original link is broken]
    Consider rewarding points for helpful answers,
    Regards,
    Shankar

  • 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

  • Xml forms - Error handling HTTP request

    Hello,
    We have installed portal 6.0
    I've made some forms with the xml form builder, imported them into IViews (KM navigation IView) and assigned the IViews to a role
    The Iview shows the RenderListItem form
    Every Iview (RenderListItem form) has a "new item" button
    Every record of the iview has a edit-delete action
    When I press the "new item" button or the edit button (or save button) I get the following error:
    Error handling HTTP request. Check the log file for more information.
    java.lang.RuntimeException: Context is unavailable!
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6532)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6360)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getAllowedValues(DMSRMLaboratoryValueProvider.java:79)
         at com.sapportals.wcm.service.propertyconfig.config.MetaName.getAllowedValues(MetaName.java:781)
         at com.sapportals.wcm.service.propertyconfig.config.MetaName.allowedValueIterator(MetaName.java:472)
         at com.sapportals.wcm.service.xmlforms.ResourceProperties.appendAllowedValues(ResourceProperties.java:713)
         at com.sapportals.wcm.service.xmlforms.ResourceProperties.mergeProperty(ResourceProperties.java:682)
         at com.sapportals.wcm.service.xmlforms.ResourceProperties.mergePropertiesIntoDom(ResourceProperties.java:611)
         at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:116)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:391)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:336)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:188)
         at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:165)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doPost(XFBaseServlet.java:261)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    This error doesn't always appear, there are times that the portal works correct and when I can add items, edit them and save my changes
    Does anyone have an idea where the error comes from? In what direction I have to search? How I can solve this problem?
    Thanks in advance, points will be distributed for helpfull answers

    Hi,
    I didn't place a save button on the RenderListItem but on the Edit form so this couldn't be the issue...
    I solved the error I got when I wanted to save my form
    The edit and delete buttons also work correct...
    I only get the error mentioned above when I press the "new form" button, I created that button with the CreateXMLForms action group that I added in my Collection Grid renderer settings (option collection command group)
    Then I changed my form availibility (System administration ->system configuration ->KM->CM->form based publishing->form availibility->folder settings)
    I created the following folder settings:
    foldername//priority//path//forms to exclude//forms to include
    library//10 //documents/testlibrary//Smarties, QnA,SAP_APP_News//library
    News //10 //documents/News//smarties, library, QnA// SAP_APP_News
    QnA //10 //documents/testQuestionAnswer// SAP_APP_News, smarties, library //QnA
    Smarties //10 /documents/testSmarties
    Did I do something wrong here? What can cause this error? In what direction should I search?

  • XML Form Builder User-based Publishing

    Hi Gurus,
    My question is like  time-based publishing (Valid from/until properties), can i do user-based publishing? Think that there are announcements in the same directory, \documents\news, i want just a responsible user or groups CAN read these news. Or it can be in different directories, but i don't want to create more than 100 xml forms in the same format. How can do this? Is Collobaration room property helpful for my aim? if so, how can i do it?

    Hi,
    If you need to use xml form to publish news and you want to have only one folder in where the news are created, you could do:
    1. In your repository for instance: documents you create a folder where the authors create the news.
       \documents\news
       The authors will have read/write permissions.
       The consumers or end users only read.
    2. You create a metadata called status with theses values:   publish, archive, in progress for instance.
    3. Using form builder, in your form you add this status metadata.
    4. Create and index (index and classification) and taxonomies using the values of status metatada.
        you will have a directorie with this structure:
        taxonomie>name of index>name of taxonomy>publish
        taxonomie>name of index>name of taxonomy>in progress
        taxonomie>name of index>name of taxonomy>archive
    5. You have to create two km navigation iviews, one to point
    documents\news and the other one to taxonomy created by you.
    The first iview you give (workset) to authors group and the second to consumers or end users group.
    The idea is simple but not automatically, the author create a new news and then using status metadata choose some value (publish so on), and then the consumers
    read this news.
    Patricio.

  • XML form in not getting displayed in the option while assigning

    Hello Experts,
    I have created a XML form and now assigning it to a folder. While assigning Folder>new>forms> .. here I can see other forms but not the new one which I have recently created. Please let me know I can assign the newly created form to the folder.
    Regards,
    Abhi

    Hi,
    Please check for the Form Based Publishing for your KM folder
    System Administration-->System Configuration >Knowledge Management->Form Based Pulishing>Forms Availability>Folder Settings check for the Forms to include and Exclude for your folder path. In this you can include or Exclude forms which you form by adding the XML form ID.
    Regards,
    Nivas209.
    Edited by: Nivas209 on Jan 12, 2012 8:12 AM

  • Help needed - XML forms not displaying in my repository

    Hi all
    I could really do with some help here.  I have a custom XML form for news articles.  It works fine in the standard documents repository, but I have my iView pointing to a folder in my own CM repository.
    When a user tries to directly access the "show" form, instead of the form it displays the XML code.  Any ideas why this is?
    My CM repository is running the following services:
    layout, properties, svc_acl, tbp
    EP6SP14
    Thanks!  Chris

    Hello,
    I have the same problem. When I'm trying to create an XML file using XML form in the repository /etc, I get the following error:
    XML - Forms 
    Cannot create item e0977870-cf29-2d10-bb89-d00b5761268c.xml in collection /etc/public/; operation is not supported.
    When I do the same in repository /documents, it works fine.
    I think, I've made the neccesary settings for the repository (Form Based Publishing, ...).
    Any clues will be highly appreciated.
    Jiri

Maybe you are looking for