302
Views
11
Comments
Input parameter is not visible in Preparation
Question

I have a case when the input parameter is not visible in web screen preparation. Where may be my mistake?

2020-02-28 09-46-54
Eduardo Jauch

Hello Stepan,

What do you mean by "not visible in web screen preparation"?

Where is this input being defined? In the page or in a Screen Action (in the last case, it will not be available in the preparation).

What is the name of the input parameter?
What is the data type?
Where/how are you trying to use it?

Cheers.

2018-11-05 14-06-27
Stepan Kakosyan

So I have TenantName as an input parameter (data type is text). Within the preparation, I need IF with condition TenantName <> NullTextIdentifier() , but TenantName is not visible and I cannot use it.

2018-11-05 14-06-27
Stepan Kakosyan

I noticed, that TenantName is not visible just in IF. After IF I assigned TenantName = TenName (local variable) and it works. But until now I don't understand why it's not visible in IF.

2020-02-28 09-46-54
Eduardo Jauch

This?

2018-11-05 14-06-27
Stepan Kakosyan

Eduardo Jauch wrote: Yes, but in my case, in IF condition terminal I cannot see the parameter.

This?



2020-02-28 09-46-54
Eduardo Jauch

Can you take a screenshot like I did so we can take a look?

Also, do you have any other thing with the same name? An aggregate, an SQL, something else?

Cheers


2021-03-05 05-52-16
Raghav N

Eduardo Jauch wrote:

Can you take a screenshot like I did so we can take a look?

Also, do you have any other thing with the same name? An aggregate, an SQL, something else?

Cheers



Hi, This one more helpful to my status  


thanks by 

Raghav

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Stepan,

Can you confirm that your If as both an arrow leading to it and an arrow leaving it (like on Eduardo's screenshot above)?

Could simply be that your If isn't really part of the flow and as such isn't able to access the context of execution (there should also be an error on the TrueChange tab mentioning something like this)

2020-02-28 09-46-54
Eduardo Jauch

Jorge Martins wrote:

Hi Stepan,

Can you confirm that your If as both an arrow leading to it and an arrow leaving it (like on Eduardo's screenshot above)?

Could simply be that your If isn't really part of the flow and as such isn't able to access the context of execution (there should also be an error on the TrueChange tab mentioning something like this)

Hi Jorge,

I did this test myself before. But at least in my SS version (previous to the last), the local variables (input parameter) are still available even if the IF is completely disconnected... 

Cheers.


UserImage.jpg
alan wright

TenantName is a site property, rename the input var

2020-09-21 08-42-47
Vincent Koning

Alan is right. You can't have conflicting variable names. Some, like TenantName, are global and shouldn't be reused. Using this name also as local variable or input variable will result in the variable not being visible in the Expression Window. Renaming the variable to something that is unique will solve this issue.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.