I'm trying to create an email treatment and using HTML but trying to pull in property/field vales of an Offer. I know you include the property via the menu button but what I want to do is to store it in a custom variable so I can build a programming logic of it later on. Is this possible? The above is what I was trying to do, it is simply declaring a String datatype and assigning the customer field value to it but it's throwing me an error.
I'm a novice user to the platform and not great at Java/JSP so please pardon me.
***Edited by Moderator: Pallavi to update platform capability tags***
However, I don't know if you'll be able to intermix it and nest that tag to assign your java variable it's value. If I were to guess, it would not work there either.
So maybe take a step back. You mentioned something about an email treatment? Is it possible to use a Corr rule to add your pega references, etc there? Behind he scenes will will auto generate valid HTML for you there. Maybe that will not work either though, since you mentioned you plan to build upon this to add more programming logic.
Approaches will depend on what you are ultimately trying to achieve later. Hopefully some of this helps. At the very least, some food for thought :)