Skip to Content
author's profile photo
Former Member

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,

Zlatina

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Jul 28, 2005 at 03:23 PM

    Zlatina:

    With respect your question:

    3. Yes, you can do that. Unhide Collaboration repository and then create a new index, and assign a data source to \collaboration\feedback. Then reindex. You will be able to search within feedback.

    2. Feedback, you can use feedback buttons in your form. (feedback (show number of feedbacks) and give_feedback).

    In the foot of your form, using layout set, add these buttons.

    Patricio.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Zlatina,

      ->1. I could not quite understand what kind of filtering you want to undertake, do you mean during the search? Can you please elaborate on this further?

      ->2. I am afraid this is not possible without further development, since the show form itself does not use the layout set (correct me if I am wrong) it uses com.sap.km.cm.xmlforms component instead which simply applies an appropriate xsl file to transform the data of your xml form. However you can write your own component which would do just this (a copycat) + render all necessary controls you described

      ->3. I think you should index the folder /feedback first (I think it is called like this)

      With best regards,

      DImitry

  • Jul 29, 2005 at 12:55 PM

    Hi 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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Aug 02, 2005 at 11:06 AM

    Hi,

    Thank you very much for the answers.

    Dimitry, about ->2: Could you please give me more specific instructions, how could I do this.

    Matthias, I saw very carefully all options of Search Option Set, but I couldn't find an option to set the options for filter by predefined properties from there.

    Could you please give me more specific instructions.

    Thanks in advance.

    Best regards,

    Zlatina

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 05, 2005 at 08:30 AM

    Hi Zlatina,

    How do you have obtained the property feed-back in your XML forms ?

    I don't arrive to do this..

    Thanks

    Martine

    Add comment
    10|10000 characters needed characters exceeded