GetProfileDocumentUrl

Description

This activity returns an url which allow to share a document stored in an object of DocsMarshal.

Videos:


DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Misc

FieldExternalId InArgument<String>

The ExternalId of the document to share.

There are three cases where you must or don't have to set this field:
  1. YOUR OBJECT HAS ONLY ONE BYTE[] FIELD: in this case you don't have to set this argument.
  2. YOUR OBJECT HAS MULTIPLE BYTE[] FIELDS BUT DefaultFileField IS SET: in this case the activity takes automatically the default document. You have to set this argumeny only if you want to take another one
  3. YOUT OBJECT HAS MULTIPLE BYTE[] FIELDS AND DefaultFileField IS NOT SET: in this case you must set this argument to make the activity know which file to take.

ObjectId InArgument<Guid> REQUIRED

The ObjectId of the profile which contains the document to share.

StaticSessionId InArgument<String>

The static session id for user authentication.

When you share a document stored in a DocsMarshal profile using a URL if you try to open it, you will be redirected to the login page. If you don't want this to happen you can set this argument as a user's static session id in DocsMarshal. Now if you try to open that URL, DoscMarshal knows the static session id so it won't redirect you to the login page.