Skip to content

[Bug]: controladdin WebPageViewer ressource loader.gif not found (Spinner) - Help neededย #4168

Open
@sschuh-mumdat

Description

@sschuh-mumdat

Describe the issue

In the controladdin "WebPageViewer" the ressource loader.gif is not found (Spinner)

If you send a long html string to the addin you should see a spinner.

Instead of the spinner, you see the following:
Image

Not quite sure what causes the problem.

maybe here:
WebPageViewerHelper.js
var spinnerSrc = Microsoft.Dynamics.NAV.GetImageResource('Loader.gif');

WebPageViewer.ControlAddin.al
Images = 'Resources\WebPageViewer\images\Callback.html',
'Resources\WebPageViewer\images\Loader.gif';

Please can someone help me to get this fixed?
I am not a professional in JS.

Expected behavior

Spinner is shown.

Steps to reproduce

see above.

Additional context

No response

I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions