cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Could someone explain on examples when do we use dynamic link?

0 Likes
306

I noticed hashmarks (#) around some MII expressions and I still don't understand when should I use them...

What was the intention to introduce dynamic link into MII?

thx

1. at certain places the hashmarks must be there

2. at certain places the hashmarks mustn't be there

3. at certain places the hashmarks could be there

Accepted Solutions (0)

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Likes

Hi Tibor,

basically, hashmarks are used when you want to subsitute some values dynamically.

Let's say you have a local variable named Temp whose value is section ID which changes depending on employee ID.

Now you want to pass this to a query, you cannot obviously pass the ID but assign it to Local.Temp and Pass '#Local.Temp#' to it to substitute the value dynamically.

So the query is called with different Temp values generated dynamically depending on some logic.

Hope this helps.

Best Regards,

Swaroop