Aller au contenu principal

Guided Add layers from file in Workflow

Commentaires

4 commentaires

  • Berend Veldkamp

    Could you share the workflow, or at least the input parameters of ‘operation2’?

    0
  • Christoph Wenninger

    Hello Berend,

    good news first: I've got it sorted out!

    So it seems, that for the results.upload-data-from-files operation it matters with which software you ziped the .zip. (got a hint from a coworker)

    The operation doesn't like 7zip comprimised files. With Windows ziped files it has no Problem. I couldn't really sort it out why that is the case. But since in my case, the .zip will come directly from an FME Server, I just had to get it going from there.

    As Parameter I just pass the .result of the foregoing operation.

    So from here on, every following operation works, till...

    The bad news:

    Now I'm stuck with the layers.set-title operation and every command from there on. But now the error message for every operation is ‘Unknown operation “layers.set-title”’ (operationname depending on the operation).

    Im passing the layers.edit-symbols operation.result which looks like the LayerSettingsArgs.
    Since it's a pretty big object, im posting just the structure here:

    {

    labelingInfo: [],

    layers: [Proxy(t)],

    maps: Proxy(t) {},

    popupTemplate: [{…}],

    symbols: [a],

    taskSettings: [{…}],

    title: ['Import1'],

    [[Prototype]]: Object

    }

    So to end with my opening statement: it just doesn't click between operations and me…

    0
  • Berend Veldkamp

    Maybe because layers.set-title is a command and not an operation? Are you using the Run Command activity?

    0
  • Christoph Wenninger

    Dear Berend,

    once again, you are not the hero I deserve, but the hero I needed!

    Thank you for your help, now everything works as intended.

    0

Vous devez vous connecter pour laisser un commentaire.