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

Similar Messages

  • 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

  • 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

  • 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

  • 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

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

  • 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

  • XML Forms Time-based publishing

    Hi,
    I'm testing an XML form that uses Time-based publishing but it isn't working correctly. The fields in the Edit form that correspond to Valid to / from are working. When I input the timestamps, they show up in the properties. I have also activated the Time Based Publishing service for this folder (it is in the documents repository). I have created two forms, one that should be published and one that shouldn't. When I test the iview with my administrative user, both appear (this is the expected behavior)
    When I log in with a user who only has Read permissions on that folder, I can't see any content. I've tried different combinations of dates for the elements but nothing seems to be getting through. I've also waited for the 15 minutes that the guide establishes for the content to appear but nothing shows up. What could be the problem?
    Thanks for your help,
    Luis

    hi
    There are Valid to & Valid from properties in the data model section of the XML Forms Builder. Would imagine you could play around with these as a starting point.
    when creating the XML Form, you can drag and drop the KM Properties "Valid From" and "Valid Until" from the left pane "Data Model" -> "Properties" -> "Lifetime" on your form. activate the tbp (time-based publishing) service on the used repository and also to "Enable Time-Dependent Publishing" on every folder where you want to use the forms (from the folder menu "Details" -> "Settings" -> "Lifetime".pèleas also go through this
    http://help.sap.com/saphelp_bw33/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/content.htm
    hope this helps you
    please don,t forget to allocate points.
    with regards
    subrato kundu

  • 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 Time based Publishing

    Hi Everyone
    I added the valid until and valid from properties to the XML form and activated the time dependent publishing for the folder where this form is displayed. My problem is that it is not taking the time that I enter in the XML form fields but considering the time only if I go to the details tab of that particular doc and set up the lifetime. I want to set this up in the edit form of the XML form. Can somebody please tell me if I am missing something.
    Thanks
    Renu

    hi
    There are Valid to & Valid from properties in the data model section of the XML Forms Builder. Would imagine you could play around with these as a starting point.
    when creating the XML Form, you can drag and drop the KM Properties "Valid From" and "Valid Until" from the left pane "Data Model" -> "Properties" -> "Lifetime" on your form. activate the tbp (time-based publishing) service on the used repository and also to "Enable Time-Dependent Publishing" on every folder where you want to use the forms (from the folder menu "Details" -> "Settings" -> "Lifetime".pèleas also go through this
    http://help.sap.com/saphelp_bw33/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/content.htm
    hope this helps you
    please don,t forget to allocate points.
    with regards
    subrato kundu

  • Forcing specific clients or groups to use forms based authentication (FBA) instead of windows based authentication (WIA) with ADFS

    Hi,
    We are have a quite specific issue. The problem is most likely by design in ADFS 3.0 (running on Windows Server 2012 R2) and we are trying to find a "work-around".
    Most users in the organization is using their own personal computer and everything is fine and working as expected, single sign-on (WIA) internally to Office 365 and forms based (FBA) externally (using Citrix NetScaler as reverse proxy and load
    balancing with the correct rewrites to add client-ip, proxy header and URL-transformation).
    The problem occurs for a few (50-100) users where they are sharing the same computer, automatically logged on to the computer using a generic AD-user (same for all of them). This AD-user they are logged on with does not have any access to Office365
    and if they try to access SharePoint Online they receive an error that they can't login (from SharePoint Online, not ADFS).
    We can't change this, they need to have this generic account logged on to these computers. The issue occurs when a user that has access to SharePoint Online tries to access it when logged on with a generic account.
    They are not able to "switch" from the generic account in ADFS / SharePoint Online to their personal account.
    The only way I've found that may work is removing IE as a WIA-capable agent and deploy a User-Agent version string specific to most users but not the generic account.
    My question to you: Is there another way? Maybe when ADFS sees the generic user, it forces forms based authentication or something like that?
    Best regards,
    Simon

    I'd go with your original workaround using the user-agent and publishing a GPO for your normal users that elects to use a user-agent string associated with Integrated Windows Auth.. for the generic accounts, I'd look at using a loopback policy that overwrites
    that user agent setting, so that forms logon is preferred for that subset of users. I don't think the Netscaler here is useful in this capacity as it's a front-end proxy and you need to evaluate the AuthZ rules on the AD FS server after the request has been
    proxied. The error pages in Windows Server 2012 R2 are canned as the previous poster mentioned and difficult to customize (Javascript only)...
    http://blog.auth360.net

  • Problem in Time Based Publishing Content

    Hi every1,
      Im working with Time based publishing.
    Using xml form builder i created 3 contents means 3 xmls.
    Then i created one iView for reading the contents (KM Navigation iView) and i setup the properties like
    layout set, layout set mode, root folder of contents.
    After creation of iView i checked in the preview all 3 contents visible in my iView.
      Now i want to show time based content in that iView.
    Contents displayed as per time based
    for that i enabled time based publishing and life time of particular content(xml)by using the given way
    Time dependant publishing in Km. I clicked on the right hand side of the name of my folder-> go to details -> Settings -> Lifetime. there you have to enable the time dependant publishing. Then i opened the folder and click on the rt hand side of the document-> properties -> lifetime, here give the time span of the document.
    After life time setup , again i seen in the iView for reading the contents (previous created) in the preview
    again all 3 contents displayed including life time expired content also.
       Please give me solution for this, or any more configurations required.
    Note :
    I required to display the contents in between time applicable only ( from time and until time).
    Thanks in advaince
    Vasu

    I have waited more than 3 hours for settings to apply.
    But i couldn't find any changes.
    any other solution?
    Thanks
    Vasu

  • Create form based on existing row : advice from specialists

    hello,
    i've coded a "create form" based on a row selected by the user.
    this create form displays the same information as the selected row (except for the primary key which is a sequence trigger-calculated) the user can then modify any field and then commit the creation. It's quicker for tables with many columns since the user will override only several fields instead of setting every field one by one.
    I've done it this way :
    1) creation of a createCustomMethod() in my ViewObject implementation class and published it in the client interface.
    2) drag and drop the method as a command button on the selection list page
    3) set the action of the command button to the navigation case value to open the create form when the button is clicked.
    the code of the createCustomMethod() is the following
    public void createCustomMethod() {       
    Row currentRow = this.getCurrentRow();
    Row newRow = this.createRow();
    newRow.setAttribute("Attribute1",currentRow.getAttribute("Attribute1"));
    newRow.setAttribute("Attribute2",currentRow.getAttribute("Attribute2"));
    /* more initialization code here */
    this.insertRow(newRow);
    this.setCurrentRow(newRow);
    it works fine but as i'm knew to ADF BC is this a good solution ? are there any drawbacks to it ?
    thanks
    -regards

    what's the advantage of exposing it in the application module rather than in the view object ?
    Message was edited by:
    user562278
    i've tried implementing the method in the application module (i had to call the findViewObject() now) but the "Row currentRow = vo.getCurrentRow();" instruction throws a NPE.

  • Time Based publishing on taxonomy

    Hi there,
    we have built a news application where everyone can post it's own news items. Location of the user is a personal folder created by using a userhome filter. The folder has time based publishing activated, the lifetime can be entered in the edit form or directly on the news item through 'details'.
    To display all items for all users, a taxonomy is used. However, the lifetime is ignored and all items are visible to all users.
    I have activated the tbp service on the /taxonomies repository, as well as enabled 'lifetime' on my 'news' subfolder (everyone has read permissions on this one). Unfortunately, still all items are visible to all users.
    Is TBP possible on a taxonomy?
    Thanks,
    Kevin

    Hi Kevin,
    we have kind of the same scenario here.
    We have a KM Folder where editors are editing news. This folder has a taxonomy to display different views on this news folder. TBP is activated in the folder.
    It works like that:
    Endusers only see valid news in the taxonomy folders. BUT editors are seeing even the expired ones, nevertheless that they only have Read permissions in the Taxonomy and /taxdata repository. So it seems to us that the "Full control" permission from the Source KM Folder is kind of overwriting the Read only permission in the Taxonomy. (Maybe you have the same problem)
    Our solution might be that we are programming a "KM Resource List Filter" to filter out the unwanted expired news out of the taxonomy folder for the editors as well.
    Cheers
    Christoph

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

Maybe you are looking for

  • Open Transport with Dial-up and System 8.5

    Hello, I'm looking for definitive information on Open Transport. I have a CD service manual but their information is vague. I'm trying to configure a 6214CD Performa with OS 8.5 and dial-up. I've had the machine on dial-up with Config PPP for a long

  • Asset Disposal Date

    Dear Friends, We have one isssue related to dispose asset as follow: The asset is actually disposed on 29 oct 2010. However the accountant only received documens (FA02) upto 15 dec 2010. Hence we consider which date we should enter in SAP to dispose

  • Lenovo G50-70 HDD Ticking Sound

    Hi I bought my laptop last august, now its HDD makes ticking sound when idle but it is fully functional. That sound is very annoying .

  • John Lewis and the new iMac

    Can anyone tell me if the iMac's in John Lewis right now come with Leopard pre-installed like they do on apple.com - The reason I ask is because they have the 24" in stock and I can get it now, but they couldn't tell me if Leopard was on it or not!

  • How can I arrange the Open window by Date Created?

    You've already seen my question. The Open window does show Date Modified, but nothing I've tried will allow me to change it or to add Date Created as a column. Any help would be greatly appreciated. Thanks, Ben