cancel
Showing results for 
Search instead for 
Did you mean: 

HCI Content Modifier externalise parameter

Former Member
0 Kudos

We are building a custom HCI process that talks to a RESTful webservice using JSON payload.

We are using Content Modifier to structure the JSON payload and plan to inject values into this payload as required. However, this payload will also need some constant parameters that need to be set while Configuring the process (things like ProjectID, Admin, etc)

I am aware that External Parameters are not supported with Content Modifier (on WebUI) but trying to build and execute the process in Eclipse has been nothing but disaster (Eclipse Neon + JDK 9).

Is there any other way possible to create configuration parameters that can later be injected into the Payload via Content Modifier?

Accepted Solutions (0)

Answers (4)

Answers (4)

finny_babu
Active Participant
0 Kudos

Hello

With the latest update of SAP Cloud Platform Integration, it is now possible to externalize fields of a table as well. For Content Modifier, you dont need to choose "External Parameter" but can choose any type and provide the parameter name in the value field using curly braces e.g {{<parameter_name}} and then click on tab. A token is created and also the header or property will be externalized. You can then click on the token to provide value to this parameter.

Regards

Finny

Raj_Nallaguntla
Explorer
0 Kudos

Thanks Finny for sharing this update. sorry to reply to old answer but helpful so thanking you.

I used the external parameters inside content modifier to set IDOC control records and it worked perfectly.

Very helpful!

Cheers!

Raj

0 Kudos

Hi ,

To use externalise parameter, using Eclipse Mars-

1) Add externalize parameter in Content modifier.

2) Download the whole iflow and replace it with the existing one via Web UI.

By these steps only you can use the option of externalize paramater , as we can't achieve it via WebUI directly.

Hope it help 🙂 Cheers!

Regards,

Pravesh Shukla

former_member539805
Participant
0 Kudos

Hey Vivek,

The parameters and variables declared inside a Content modifier cannot be externalized. But the body can!

I do not understand the requirement clearly as to whether you want to inject payload as an external parameter or the parameters like ProjectID, Admin, but either way, it can be done through externalizing the body of a CM in WebUI.

Thanks

Kriba

0 Kudos

Hi Vivek,

Could you please send the screenshot of the error you are getting and if possible screenshot for the steps performed in I-flow.

thanks and regards,

Praveen T