The Expose output flag is locked on CallMethod

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
AkshayKhanolkar
Posts: 44
Joined: May 2nd, 2022, 11:53 am
Contact:

The Expose output flag is locked on CallMethod

Unread post by AkshayKhanolkar »

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.
Capture61.PNG
This is a new CallMethod that was dragged in 5.1 MVC
Capture63.PNG
word count: 71

Tags:
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: The Expose output flag is locked on CallMethod

Unread post by SteveCap »

This was intentional. You cannot turn off Expose Output on a Call service.
word count: 13
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: The Expose output flag is locked on CallMethod

Unread post by CathyC »

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.
word count: 52
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: The Expose output flag is locked on CallMethod

Unread post by CathyC »

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
Post Reply