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

API Execution command for export and import package

Avatar

Avatar
Validate 1
Level 2
saurabhn1462040
Level 2

Likes

3 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
saurabhn1462040
Level 2

Likes

3 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
saurabhn1462040
Level 2

28-06-2019

Is there and API executable command for importing packages and exporting packages. I am looking for something like nl.execute command.

Thanks

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

128 likes

Total Posts

140 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
kapilKochar
MVP

Likes

128 likes

Total Posts

140 posts

Correct Reply

43 solutions
Top badges earned
Validate 1
Contributor
Give Back 10
Give Back 5
Give Back 3
View profile
kapilKochar
MVP

04-07-2019

Hi Saurabh,

If you want to automate the package migration process based on API executable commands. you need to create one new schema and expose two methods for export and import  and then create JS to write logic for both functions

like for Import will be

     a. Saving incoming request in schema for tracking

     b.  Retrieve the filename and folder value

     c.  create XML object using above details

     d.  use xtk.builder.InstallPackage function to install that XML

If Using API is not mandatory then use below link to design workflow which will export the package directly.

How to export packages automatically

Hope this helps !

Thanks,

Kapil

Answers (0)