Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

FRSL does not work on Dashboard when Dynamic Data Pull (DDP) is enabled #89

@lemoraes

Description

@lemoraes

FRSL is not working in the Record Status Dashboard when Dynamic Data Pull (DDP) is enabled.

When DDP is enabled, it modifies the record table by adding an extra column as shown in the figure bellow.

image

This extra column appends one extra <a> element per row:

image

image

The FRSL fails when Record Status Dashboard is opening. The following message is shown in the browser console:

image

This error is thrown when FRSL tries to process the <a> element that comes from the DDP code.

After this error, the JS code stops and the module does not work as expected.

I coded a workaround for this problem that just ignores the <a> element that comes from DDP stuff:

image

The code itself:

 if (formRenderSkipLogic.location == 'record_status_dashboard' && 
            this.href == "javascript:;" && this.outerHTML.indexOf("triggerRTWSmappedField") != -1){
            return;
        }

Well, I don't know if this workaround is the best solution, probably not, but its working.

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