Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to Sync enumurations when using WEB Serivce Call instead of SFDC Connector to import data from SFDC.

Avatar

Avatar
Validate 1
Level 2
nadeema90078524
Level 2

Likes

4 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
nadeema90078524
Level 2

Likes

4 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
nadeema90078524
Level 2

06-11-2017

Hi ,

I am trying to Use WEB Service (SOAP Call) to import Data from SFDC to Adobe Campaign.I do not want to use SFDC Connector here. I wanted to know is there any way to synch Enumeration through SOAP. Or we have to manually create it in Adobe Campaign.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

07-11-2017

Hi Nadeem,

You have the choice to either create a new method in an extended schema of xtk:enum or in xtk:enumValues (by adding method code in the Administration>Settings>Javascript codes node), or directly code in your client Soap call the xtk.session.Write or WriteCollection (or the entity save method, depending on your way to code).

Creating his own method is a recommended choice to hide the underlying details, for example if you don't want to expose some business rules to the client (and the developer in charge of the client). So the xtk.session.Write is coded in the method code, business rules checks etc.

If the client code is managed by the same developer profile (that has already access to the Adobe Campaign server or client as operator), it is more or less the same, and the main advantage is to avoid any specific documentation

My recommendation would be the method extension of schema if you need to implement some business rules.
It is very similar to the choice of stored procedures or directly code SQL queries in a client code...

Regards
J-Serge

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

06-11-2017

Hi Nadeema,

I guess you mean a user enumeration, so the itemized lists that you can find in Administration>Platform>Enumerations.

In such case, please have a look on xtk:enum schema and its WSDL for SOAP call, and use the session.Write or entity save methods, depending on your code.

But in case of system enum declared in the schemas, they are only readable by JSAPI/Soap methods, not overwritten.

Regards
J-Serge

Avatar

Avatar
Validate 1
Level 2
nadeema90078524
Level 2

Likes

4 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
nadeema90078524
Level 2

Likes

4 likes

Total Posts

16 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
nadeema90078524
Level 2

07-11-2017

Hi J-Serge,

Thanks  for the Detail overview. However i have small doubt. As i don't see any methods to create new Enumration.Do i need to Extend the Factory xtk.enum Schema and add methods accordingly?

Thanks

Nadeem