---
title: "Discussion on \"How to load a custom HTML in D365 JavaScript popup\" | Hashnode"
description: "Discussion on \"How to load a custom HTML in D365 JavaScript popup\". var pageInput = {\n    pageType: \"webresource\",\n    webresourceName: \"new_sample_webresource.htm\"\n};\nvar navigationOptions = {\n    target: 2,\n    width: 500, // value specified in pixel\n    height: 400, // value specified in pixel\n    position: 1\n};\nX..."
url: "https://hashnode.com/posts/how-to-load-a-custom-html-in-d365-javascript-popup/60bf82579cd17933741a0a56"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to load a custom HTML in D365 JavaScript popup](https://dynamicscrm.hashnode.dev/how-to-load-a-custom-html-in-d365-javascript-popup?utm_source=hashnode&utm_medium=feed)

var pageInput = { pageType: "webresource", webresourceName: "new\_sample\_webresource.htm" }; var navigationOptions = { target: 2, width: 500, // value specified in pixel height: 400, // value specified in pixel position: 1 }; X...

Jun 8, 2021 · 2 min read · dynamicscrm.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#crm](https://hashnode.com/tag/crm)
-   [#microsoft](https://hashnode.com/tag/microsoft)

## Written by

[MS Dynamics CRM Blog](https://hashnode.com/@Rupeshgonte)

@Rupeshgonte

  
[View profile](https://hashnode.com/@Rupeshgonte)

I code and I know things !

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
