Skip to Content
author's profile photo Former Member
Former Member

How to Set Value in Fragment

Hello Ui5 Guys,

Iam trying to get a Value in Fragment but iam not able to set the value in it using Array and also can anyone tell me how i can Reload the page

i am having Navigation in my Multiple Views, but when ever you select something and Go back using Navigation,then come again to that same page ,value remaining same, but i dont want to get any value if i did navigation to any other page

please help


Shardul Pandey

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 17, 2016 at 02:31 PM

    update the model, you view should get reflected

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 19, 2016 at 06:08 AM


    How your getting the value and how your trying to the can please share the code

    Try with sap.ui.getCore().byId("urControlId").setValue("urvalue");

    or if your getting any error put an attachment.

    Thanks & Regards


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.