@orangelogic/orange-dam-content-browser-sdk 2.4.11 → 2.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -108,6 +108,28 @@ setting is simply ignored. Because no GetAssetLink request is made, only the com
108
108
  `extraFields` (`ScrubUrl` and `AllowATSLink`) are returned in this mode -- request any
109
109
  other field with `simplePick` off.
110
110
 
111
+ ## Select Without an Asset Link (`skipLinkGeneration`)
112
+
113
+ Set `skipLinkGeneration: true` when the host needs the selected asset's fields, not a
114
+ URL. Confirm still calls GetAssetLink, but with `GenerateAssetUrl=false`, so Cortex
115
+ returns the metadata and the requested `extraFields` and creates no asset link:
116
+
117
+ ```html
118
+ <script>
119
+ OrangeDAMContentBrowser.open({
120
+ allowProxy: false,
121
+ extraFields: ['Document.RecordID'],
122
+ skipLinkGeneration: true,
123
+ onAssetSelected: (assets) => console.log(assets[0].extraFields['Document.RecordID']),
124
+ });
125
+ </script>
126
+ ```
127
+
128
+ Use it when a link is not needed. Cortex refuses a link to some users who can still
129
+ read the asset (for example a CDN permanent link without the `GetBulkPermanentLinks`
130
+ security function), and the selection then fails. Each selected item's `imageUrl` is
131
+ the grid preview URL. Unlike `simplePick`, any `extraFields` can be requested.
132
+
111
133
  # Change Log
112
134
  * March 24, 2026 - v2.2.3
113
135
  * Supports displaying asset thumbnails according to the selected format (https://link.orangelogic.com/Tasks/420YSB)
@@ -30,6 +30,7 @@ export type GlobalConfigContextType = {
30
30
  allowTracking: boolean;
31
31
  allowProxy: boolean;
32
32
  simplePick: boolean;
33
+ skipLinkGeneration: boolean;
33
34
  allowFavorites: boolean;
34
35
  allowPin: boolean;
35
36
  allowFormatDialogPin?: boolean;