on 04-18-2019 12:05 PM
Hello,
I'm trying to create a flow in SAP Hana Cloud Integration that will import a list of numbers (CSV) from an SFTP connection (like an input) and then generate images into another folder in the SFTP account.
I've developed this scenario with JAVA in my local machine but I have some technical difficulties to do the same in HCI using Groovy (like How to import JAR file, etc).
Do you have an idea how I can do this? And what is the best approach?
Thank you!
Hello,
Thank you very much for your response. It resolves my Jar importing in the integration flow, But it doesn't respond to my main requirement: Upload mass images.
My use case is about importing file images to Marketing Cloud, and I've seen a new module: Bulk upload Image from Marketing Cloud Interface.
Do you know witch API webservice I can consume to add images to Marketing Cloud via integration flow?
When I try to access to my manually uploaded image to MKT Cloud, with browser, I have this URL:
https://myTENANT.s4hana.ondemand.com/sap/opu/odata/sap/CUAN_COMMON_SRV/ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7')/$value?1555681039060
I eliminate $value from the URL and I find an XML code and I was wondering maybe there is a webservice that I can consume to mass upload images:
<entryxmlns="http://www.w3.org/2005/Atom"xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"xml:base="https://myTENANT.s4hana.ondemand.com:443/sap/opu/odata/sap/CUAN_COMMON_SRV/">
"); vertical-align: bottom; height: 10px;"><id> https://my302856.s4hana.ondemand.com:443/sap/opu/odata/sap/CUAN_COMMON_SRV/ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7') </id> <titletype="text">FA163EE9BCF11EE998B8271C0A4F65F7</title> <updated>2019-04-19T13:38:48Z</updated> <categoryterm="CUAN_COMMON_SRV.ObjectImage"scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/> <linkhref="ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7')"rel="edit"title="ObjectImage"/> <linkhref="ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7')/$value"rel="edit-media"type="application/octet-stream"/> <contenttype="application/octet-stream"src="/sap/opu/odata/sap/CUAN_COMMON_SRV/ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7')/$value"/> "); vertical-align: bottom; height: 10px;"><m:properties> <d:ObjectType>CUAN_INTERACTION_CONTACT</d:ObjectType> <d:ObjectId>FA163EE9BCF11EE998B8271C0A4F65F7</d:ObjectId> "); vertical-align: bottom; height: 10px;"><d:Url> /sap/opu/odata/sap/CUAN_COMMON_SRV/ObjectImages(ObjectType='CUAN_INTERACTION_CONTACT',ObjectId='FA163EE9BCF11EE998B8271C0A4F65F7')/$value </d:Url> <d:MimeType/> </m:properties></entry>
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.