Retrieving the current FormView Name
Retrieving the current FormView Name
Is there a way to get the name of the FormView that I am in? I know that I can get the FormViewID, but I need to know in which FormView I reside in order to do somthing else.
Regards,
David
David
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: Retrieving the current FormView Name
In RPG – see example Use Case Example -> Mobile Device Details (EXAM0011).
In RDMLX – see example LREX0011 : Device Details – properties are #COM_OWNER.FormViewID and #COM_OWNER.PreviousFormViewID.
The values returned are the form view’s internal unique identifier - since you may not have assigned any name to form view.
In RDMLX – see example LREX0011 : Device Details – properties are #COM_OWNER.FormViewID and #COM_OWNER.PreviousFormViewID.
The values returned are the form view’s internal unique identifier - since you may not have assigned any name to form view.
Re: Retrieving the current FormView Name
But I am asking if it is possible to retrieve the Name of the Current FormView if I have given it a name. Is this possible?
Regards,
David
David
Re: Retrieving the current FormView Name
Or, if we cannot get the FormViewName from the schema, would it be possible to change the SwitchToFormView to accept a FormViewID rather than a FormViewName?
Regards,
David
David
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: Retrieving the current FormView Name
We will add as an enhancement request.
For the moment you would need a case block or table in you code to switch from one name to the other.
For the moment you would need a case block or table in you code to switch from one name to the other.
Re: Retrieving the current FormView Name
Is this scheduled or done yet? I am still having to hard code the switch form view name
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Retrieving the current FormView Name
Hi Steve,
Apology for the delay.
I have now scheduled this to be included in the upcoming RV23 release, which is due in 2 weeks.
In this release, you will be able to get the current form view name (in addition to the current form view ID).
We can also get you a test build (iOS) tomorrow so you can confirm that it suits your need.
Please let us know.
Apology for the delay.
I have now scheduled this to be included in the upcoming RV23 release, which is due in 2 weeks.
In this release, you will be able to get the current form view name (in addition to the current form view ID).
We can also get you a test build (iOS) tomorrow so you can confirm that it suits your need.
Please let us know.