Skip to content

Question: How can we import an image (Media/MediaSet) via code (to initialize Demo Data)? #245

@bvbeek

Description

@bvbeek

In Extension 2.0 we cannot use any DotNet interop.

I know we can use the .IMPORTFILE and IMPORTSTREAM.
But if you want to import a file, you need a file, how can we create this file?
Possible solution is to store the Image as Base64 string in code.
But how can we decode the string without DotNet?

Or can we add the images seperated with the .navx file or something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions