Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
shashank31191
Explorer
In this blog we are going to discuss about how to externalize a parameter in a content modifier and then using it any script (we will groovy script for explaining).

Externalizing a parameter in eclipse was pretty easy, just need to define an external parameter in the content modifier palette as shown in below fig:

 



 

But from Web GUI, external parameter type is greyed out because of which it becomes little tricky to define one.

 



 

Solution:

Instead of using an external parameter type, use either “Constant” or “Expression” type within content modifier.
And in the value column, define the external parameter.

 



 

You will find the declared externalized variable in the configure section as well.

 



 

Once you have externalized, you can refer the same within the groovy script just as a normal property variable.

 



 

Hope this helps…!!!
1 Comment
Labels in this area