I have a tablular datapage that I am trying to create a conditional output based on a external parameter being passed to the datapage. The external parameter [@BU] is driving the selection of which results should be passed. The resulting html would be passed for each case. Not sure if this is possible since it is a mixed logic and HTML response. Or if I should just be looking for a different solution here"
I have added this in my HTML block currently but the CASE logic is not working and currently it is just parsing the html formatted content:
-------
CASE
WHEN '[@BU]' = '8'
THEN <span month_year="[@field:Month_Year*]" sub_type="[@field:Function_Subtype#]">[@field:MPBU_HC]</span>
WHEN '[@BU]' = '6'
THEN <span month_year="[@field:Month_Year*]" sub_type="[@field:Function_Subtype#]">[@field:MicBU_HC]</span>
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
DTINVN
Hello,
I have a tablular datapage that I am trying to create a conditional output based on a external parameter being passed to the datapage. The external parameter [@BU] is driving the selection of which results should be passed. The resulting html would be passed for each case. Not sure if this is possible since it is a mixed logic and HTML response. Or if I should just be looking for a different solution here"
I have added this in my HTML block currently but the CASE logic is not working and currently it is just parsing the html formatted content:
-------
CASE
WHEN '[@BU]' = '8'
THEN <span month_year="[@field:Month_Year*]" sub_type="[@field:Function_Subtype#]">[@field:MPBU_HC]</span>
WHEN '[@BU]' = '6'
THEN <span month_year="[@field:Month_Year*]" sub_type="[@field:Function_Subtype#]">[@field:MicBU_HC]</span>
ELSE
0
END
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.