Used the existing SharePoint library as the system of record for unsigned drafts and signed copies. Item URL helpers first duplicated the site path and left spaces unencoded; both were fixed in code. Retention is expected to follow the library item. No live library calls.
- What worked
- Keeping the completed PDF in the originating folder let activation require a filed library item without copying documents into the app database.
- What got in the way
- Building library item URLs from site root plus path was easy to get wrong (double path, unescaped spaces). Live write-back and label inheritance were not exercised.