Skip to Content
avatar image
Former Member

Call a XML view in a sap.ui.dialog

How can I do that please help with it.if any one has a sample code in SAPUI5.

I already have view created and I just want to call the whole view in dialog. How can I do this??

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 03 at 06:17 AM

    Nesting view in dialog is not preferable .. Use fragments instead but still you want to include than use this code line to include ..

    <mvc:XMLViewviewName="<namespace>.<folderName>.<viewName>"/>

    Thanks

    Viplve

    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 12:00 PM

    what does call xml view mean?

    Add comment
    10|10000 characters needed characters exceeded

  • May 04 at 08:47 AM

    Hi ,

    Please use Dialog control as fragment and follow the steps mentioned in below to open close and bind the fragments

    https://blogs.sap.com/2014/02/20/sapui5-dialogwith-businesscard-as-xml-fragment-along-with-controller/

    Add comment
    10|10000 characters needed characters exceeded