While working on 5.1 MVC EASYCommerce I have noticed CallMethods with their expose output flags turned on. They will also show up with the green dot. When I drag a new similar method in, that new method will also display the checked flag and the green dot.
This is a CallMethod that was copied over from EASYCommerece base.
This is a new CallMethod that was dragged in 5.1 MVC
The Expose output flag is locked on CallMethod
-
- Posts: 44
- Joined: May 2nd, 2022, 11:53 am
- Contact:
-
- Posts: 329
- Joined: August 26th, 2021, 9:18 am
- Contact:
Re: The Expose output flag is locked on CallMethod
This was intentional. You cannot turn off Expose Output on a Call service.
word count: 13
-
- Posts: 472
- Joined: November 16th, 2021, 11:15 am
- Contact:
Re: The Expose output flag is locked on CallMethod
Why would you need that to say as output True?
I want to understand the use case for it because currently I set output true to anything that could be referenced from the page. and for our best practices, we will not be reaching into a method to reference something for output.
I want to understand the use case for it because currently I set output true to anything that could be referenced from the page. and for our best practices, we will not be reaching into a method to reference something for output.
word count: 52
-
- Posts: 472
- Joined: November 16th, 2021, 11:15 am
- Contact:
Re: The Expose output flag is locked on CallMethod
I talked to internal team on this. It is done in case the developer wants to reference any output from another method call. This is so that any nested services marked as output also get shown as possible options to select from the view for dynamic reference
word count: 47