You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Passing a SmartList Value to a Member

edited Nov 20, 2020 12:04PM in Planning 4 comments

Summary

Question about IF calculation

Content

Hi everyone,

I tried to pass a smartlist value to a member using these functions but it doesn't work.

"Version" = @MEMBER(@CONCATENATE("HSP_ID_",@HspNumToString("SmartlistMbr"->"CustomDimMbr1")));

I managed to pass the value of the smartlist only by enclosing the calculation in an IF clause but it has a dramatic impact on performances.


           "Version"(
       if (@ISMBR(@MEMBER(@CONCATENATE("HSP_ID_",@HspNumToString("SmartlistMbr"->"CustomDimMbr1")))))
           "CustomDimMbr1";
           endif;
           )

 

Why the first script doesn't work?

 

Thank you Community,

Have a nice day! 

 

 

Version

Cloud
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!