Aller au contenu principal

jumpToElement per Access-API

Commentaires

2 commentaires

  • Zendesk API User
    Author: mbergmann - 8/29/2019 18:35

    Hallo Timo,

    diese Funktion gibt es: DisplayElementOperation

    Viele Grüße

    Michael

    0
  • Zendesk API User
    Author: KTO - 8/30/2019 14:14

    Hi Michael,

    vielen Dank für deinen Hinweis. Konnte es damit jetzt lösen.

    Falls jemand ähnliches implementieren möchte poste ich hier mal meinen Code-Teil:

    Media mediaElement = (Media) context.getProject().getUserService().getStore(Type.MEDIASTORE, false)

                    .getStoreElement(id);

    OperationAgent operationAgent = context.requireSpecialist(OperationAgent.TYPE);

    DisplayElementOperation displayElementOperation = operationAgent.getOperation(DisplayElementOperation.TYPE);

    displayElementOperation.perform(mediaElement);

    Viele Grüße

    Timo

    0

Vous devez vous connecter pour laisser un commentaire.