Lolly
Apri l'app

Orange Logic (kind: orange-logic)

Nota: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Work instance. The packaged console keeps its release-matched copy of this guide.

Read-only discovery and permitted rendition access through Orange Logic's public Search API. This connection reports originals: false: protected-original support awaits the separate Extract Original Document API contract. TR1 and TRX must not be presented as original files.

What you need

Use Providers > Orange Logic for the advanced setup form, or the existing provider CLI. Missing formats are never generated. The connector makes no AI, upload, metadata-edit or public-share creation calls.

Credential shape

Use JSON with clientId and clientSecret, obtained for the organisation's application account. The connector exchanges them on the configured origin, caches the token in its driver instance, and refreshes once after an HTTP 401. Alternatively store a bearer token as plain text or JSON with bearerToken. No browser consent flow or refresh-token blob is implemented for this kind.

Use the write-only credential panel or lw providers credential orange-media. Never put a credential in options, argv or a source URL. A config-managed source uses credentialRef to name an environment variable. An IP-bound token needs a stable outbound path for that Work instance.

instance.json

{
  "id": "orange-media",
  "kind": "orange-logic",
  "label": "Campaign renditions",
  "options": {
    "baseUrl": "https://dam.your-host.example",
    "query": "ParentFolderIdentifier:APPROVED",
    "formats": ["TR1", "WebHigh"],
    "storageOrigins": ["https://media.your-host.example"],
    "pageSize": 100,
    "minGapMs": 250,
    "approvalField": "Marketing.Status",
    "approvedValues": ["Published"]
  },
  "credentialRef": "ORANGE_LOGIC_READ_CREDENTIAL",
  "exposure": { "groups": ["design"], "requireApproved": true },
  "mapping": { "availabilityFields": { "from": "Marketing.Release", "until": "Marketing.Expiry" } },
  "sync": { "ttlSeconds": 300, "maxAssets": 100000 }
}

The example's custom fields and status values must be replaced with your tenant's actual identifiers. With no approval mapping, approval is unknown. A configured approval field with no matching value is false. Availability fields read exact returned metadata keys; use ISO 8601 dates. This is not a complete territory/channel/agreement rights evaluator.

Verify

lw providers preview --kind orange-logic --options '{"baseUrl":"https://dam.your-host.example","query":"ParentFolderIdentifier:APPROVED"}' --shape
lw providers add orange-media --kind orange-logic --label "Campaign renditions" --options '{"baseUrl":"https://dam.your-host.example","query":"ParentFolderIdentifier:APPROVED"}'
lw providers credential orange-media
lw providers health orange-media
lw providers sync orange-media
lw providers enable orange-media

Inspect the sample, metadata, rendition labels and group access before enabling. Complete the tenant verification. An HTTP success does not prove the selected file's fidelity or an upstream rights clearance.

Options

baseUrl is required. query is always combined with ordinary member text or ID lookups; member text is escaped. formats defaults to TR1 and WebHigh, at most twenty distinct proxy codes. storageOrigins adds at most twenty exact HTTPS origins to the configured API origin; storage reads carry no API bearer token and redirects are refused. It does not grant access to arbitrary storage hosts. Existing Work egress policy also applies.

pageSize is 1-500, default 100. minGapMs is 0-60000, default 250, within one driver instance. approvalField requires an explicit approvedValues list. There is no built-in approval or availability field assumption. Use the vendor's List Fields/Criteria tools to establish mapping.

Notes / limits

Off-boarding

Materialisation can copy the exposed renditions, with that limitation retained in metadata. Work refuses DAM cutover for this source because protected originals are unsupported. Do not schedule an original-preserving exit from a successful preview or rendition copy. Obtain the protected API contract and implement/test original access first. See offboarding.

Public contracts: Search, fields and format limits, authentication.