[FEATURE] generate preview for assets similar to what you see in Email Studio/content builder while editing content

Open
#162 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by tracing how the extension currently handles SFMC asset content and the REST request to /asset/v1/content/assets/{assetId}/views/html. Use asset 4936 as the example and compare the returned rendering with Email Studio/content builder. Done means an asset preview matches the system's rendered HTML without the editing overlays.

Written by the indexing model from the issue text.

Description

enhancement NEW

the following will help identify how rendering the HTML view is done in SFMC Email Studio / content builder by actually rendering an email like it is shown in the system - only without the additional "edit me" overlays that pop up there

const uri = '/asset/v1/content/assets/4936/views/html';
const response = await this.client.rest.get(uri);

4936 in this example is the asset id (not the legacy id)

Dominant language
TypeScript
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Accenture/sfmc-devtools-vscode

All issues in Accenture/sfmc-devtools-vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.