(base: string, params: AgiloftAttachmentInfoParams)
| 119 | } |
| 120 | |
| 121 | export function buildAttachmentInfoUrl(base: string, params: AgiloftAttachmentInfoParams): string { |
| 122 | const id = encodeURIComponent(params.recordId.trim()) |
| 123 | const fieldName = encodeURIComponent(params.fieldName.trim()) |
| 124 | return `${base}/ewws/EWAttachInfo/.json?${buildEwBaseQuery(params)}&id=${id}&field=${fieldName}` |
| 125 | } |
| 126 | |
| 127 | export function buildLockRecordUrl(base: string, params: AgiloftLockRecordParams): string { |
| 128 | const id = encodeURIComponent(params.recordId.trim()) |
no test coverage detected