Skip to Content

Input text at runtime and save the content in SAP Design Studio 1.6

Hi All,

I have a requirement to add a separate tab in my dashboard to enter notes at runtime and save it. Also is there a way to view the content which was last entered to be displayed the next time when the dashboard is executed?

The dashboard holds all management data and the notes will be the points to be noted during each management meeting. It will be useful if they can view the data which they last entered when they execute the dashboard.

I tried to use the input field component but it did not work according to my requirement.

Could someone please suggest how this can be achieved?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 16, 2017 at 11:29 AM

    Hi,

    I could get half way through by referring various blogs:

    https://blogs.sap.com/2016/06/24/how-to-save-comments-in-design-studio/

    https://www.youtube.com/watch?v=8St80Hjose4

    I used input fields,fragment gallery, split cell container and formatted text view to gets the comments.

    Could someone please suggest how this can be saved and also visible for all users.

    Version Used : Design Studio 1.6 SP3

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • May 21, 2017 at 08:01 PM

    Hi Poojitha,

    The portable fragment bookmark will be visible to all users if you load them to fragment gallery by using folder ID and group Identifier that you will be using while saving the book mark. When you use the below code on start up it bring all portable fragment bookmarks saved under it.

    FRAGMENTGALLERY_1.addItems(Bookmark.PortableFragmentBookmark.getAllBookmarksByFolder("Folder","Group_identifier"));

    Please let me know if you need any help on this.

    Thanks,

    Poovarasan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Poovarasan,

      I tried the below codes on "On Click" of button.

      FRAGMENTGALLERY_1.addItems(Bookmark.PortableFragmentBookmark.getAllBookmarkInfosForApplication("Comment_dashboard"));
      FRAGMENTGALLERY_1.addItems(Bookmark.PortableFragmentBookmark.getAllBookmarkInfos("Comment_dashboard"));

      When I click on the button, few of the fragments are added in the fragment gallery with an error message as "Error during Script Processing.Contact the Application Designer to resolve the issue.

      error.jpg

      Could you please suggest on this?

      Thanks.

      error.jpg (21.7 kB)