vscode-ampscript icon indicating copy to clipboard operation
vscode-ampscript copied to clipboard

Download Content Locally

Open nathandotjpeg opened this issue 4 years ago • 6 comments

When downloading all the content only the folders are saved and none of the actual files that are within those folders. Has anyone else had this issue?

nathandotjpeg avatar Mar 13 '21 02:03 nathandotjpeg

The main goal I am trying to solve for is to stage all changes in a repository before pushing them back into SFMC, is this possible with this app? If so, how have people implemented it?

nathandotjpeg avatar Mar 16 '21 19:03 nathandotjpeg

Hi @iamnathan123 So you basically want to sync all the files to the local file system, right? If so, this functionality is not available at the moment, however I was thinking of it as a next step. It should not be smth too hard to do. Feel free to share your ideas on how exactly it should work.

Bizcuit avatar Mar 22 '21 15:03 Bizcuit

I would love it when syncing to local would be possible. One of the shortcomings of Marketing Cloud would be version control. I stumbled upon your extension through this webpage: https://vijayasankarn.wordpress.com/2020/12/01/marketing-cloud-version-control-system-for-developers/ and Vijaya suggests downloading a copy, but that's a bit messy.

I don't have any suggestions on how you would do it because I am not a developer, but I would be very, very happy when I could change something in my files and then in the same environment I could stage/commit my changes.

I'm keeping my fingers crossed :-)

vandenb avatar Nov 30 '21 14:11 vandenb

If I may, this interests me a lot too. Having no idea how far it is from being a possibility, I suggest to build upon the virtual filesystem concept and add the bits to mount it as a disk. Using fuse or the likes. Makes sense ? Could be a low hanging fruit. Anyway thanks so much for this extension. Would be happy to help.

mdenavac avatar Oct 26 '22 12:10 mdenavac

Hi @mdenavac I was planning to add an optional local disk path to the connection props in connection manager. Every time you open a file it will dump a copy to this local folder. Does it make sense?

Bizcuit avatar Oct 26 '22 12:10 Bizcuit

Yeah why not I would use the local folder something like the following workflow:

  1. open remote file in vs
  2. save it writes it on disk, then pushes the file in MC
  3. add and commit

Means you would have to deal with existing files in the folder and some sort of sync upon extension activate call. And write the "virtual folders" as well. Dumping only saved files. Then use the download feature for all repo.

What do you think ?

mdenavac avatar Oct 26 '22 12:10 mdenavac