Load Attachment dialog
Loading the Attachment dialog page provides the user with an HTML page that contains the attachment editing or creating interface. Information about the current attachment (being edited) or the new attachment (being created) is dynamically inserted into the HTML template.
Example API call
/servlets3/wietmsd?id=1520980553210&book=s1000d_bike_41&collection=default&target=annot&action=attachment_dlg
Parameters
| Parameter | Description |
|---|---|
target | annot |
action | attachment_dlg |
id | A session ID that is valid for this collection and publication combination. |
collection | The name of the collection that the publication is registered in, such as default. |
book | The name of the publication, such as s1000d_bike_41. |
XML post data
This API call requires XML post data such as in the following example.<bmdata>
<docid>S1000DBIKE-AAA-D00-00-00-00-AA-663-A-A</docid>
<eid>10</eid>
<eidoffset>0</eidoffset>
<location>s1000d_bike_41%5CBike%204.1%5CBicycle%5CBicycle%20-%20Standard%20repair%20procedures</location>
<annot_id>undefined</annot_id>
</bmdata>
Returns
- On success
- The HTML page, attachment_dlg.html is loaded from the current skin.
- On failure
- Returns nothing.