cancel
Showing results for 
Search instead for 
Did you mean: 

Creating project using Metadata SnapLogic Create snap

mohamadelmardin
New Contributor III

At GameStop we are leveraging a custom solution/pipeline to handle code migration and deployment from one environment to another. We are using Metadata List snap to list projects, accounts, pipelines, tasks from source project then using Metadata Create snap to recreate them in target environment (by specifying org/projectspace/project information). This solution seems to be working fine for all asset types: Account, Pipeline, Task. However it is failing for asset type PROJECT where I am always getting the same error: Error creating asset /GameStop/projects/TargetProject, Reason: Absolute path required when I try to create a any new project.

Did anyone stumble upon that error before: Absolute path required ?? I know that I am using the right absolute path correctly because it is working fine for other asset type: Account, Task, Pipelines. So why I cannot use it to create target project?5d032995697b87b8fa54a7fe0475f6d1aaf6b3d0.PNG

16 REPLIES 16

Thank you but this is different than the GitHub integration. Alex was also stuck on this one creating a project at runtime but the issue is resolved now. I worked with Sriram on it. I just made one suggestion for Sriram to fix the existing SnapLogic documentation ( http://doc.snaplogic.com/com-snaplogic-snaps-snaplogic-create_1 ) for the absolute path to remove the leading forward slash ‘/’ from the example because it will throw error when it is there when attempting to create a project.

We have a working solution for this task of creating a new “Project” asset using the “SnapLogic Create” snap:

  1. Ensure that the user account attempting to complete this task has “Full-access” to “/” to be able to create a new project asset

  2. Create a pipeline with the following sequence of snaps:
    “SnapLogic Read” > “SnapLogic Create”

56bb710d61c980c0c8b93bc0c1b4bbbd9cc81dc3.jpg

SnapLogic Read: Read from an existing project path
SnapLogic Create: Specify the target/actual project to be created. [ // ]

psadasivam
New Contributor III

Hi Mohamad,

I am facing same issue when I try to automate project creation. What was the solution provided by SnapLogic team? Do I need to submit a ticket?

Attached is a sample pipeline that should be helpful for creating “Projects” using the SnapLogic Metadata snaps.

SnapLogic Read: Read from an existing project path
SnapLogic Create: Specify the target project to be created. Example: org/project_space_name/project_name

SnapLogic Create - Project_2017_05_10.slp (2.9 KB)

psadasivam
New Contributor III

@sriram In my case I am trying to create new project on provided org. I am just using SnapLogic create snap not read snap.
cf62465eaf1f3a54e72811ef334f0661ac034922.jpg