Hi all,
I implemented automatic stamping in a service.
In general, this is not a problem, just creating a DocumentAnnotationsPlacement object and Post to Annotations.
- DocumentAnnotationsPlacement documentStampPlacement = new DocumentAnnotationsPlacement()
- {
- Annotations = new List<SectionAnnotationsPlacement>()
- {
- new SectionAnnotationsPlacement()
- {
- PageNumber = pageNumber,
- SectionNumber = sectionNumber,
- AnnotationsPlacement = new AnnotationsPlacement()
- {
- Items = new List<object>()
- {
- new StampPlacement()
- {
- StampId = stampId,
- Layer = layer,
- Field = new List<FormFieldValue>()
- }
- }
- }
- }
- }
- };
However, it always requires a Stamp ID. I can not figure out how to stamp with a stamp name instead of the GUID.
Using the GUID works just fine in on-premise systems, however I think you can not retrieve the GUID for stamps in Cloud systems, at least I do not know how to do that.
Can you help me figure out how to either find the GUID in a Cloud system or how to stamp without knowing the GUID?
Thanks and Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant