Skip to content

Organization prefill parameter not working in new activity modal #63

@jdockwar

Description

@jdockwar

When trying to create an activity, i.e. opening the new activity modal from my custom modal, then the organization parameter does nothing.

It is type checked though, in the console I get the following error, when I try to pass it as string:

Image

Passing the deal ID works fine, and connects all the deals connected entities just fine. But in my situation I don't necessarily have a deal.

const { status, id } = await (await sdk).execute('open_modal', {
    type: 'activity',
    prefill: { 
        organization: 123, // org does nothing :(
        deal: 456 // why is deal required? This connects all entites, but even if deal is not passed, organization does not work
    },
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions