Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I've got a document type, which has atwo properties, on a custom data type (a dropdown list with color values), the second of type upload.
How can I fill these properties via the DocumentService..
DocumentProperties =
{
docPropFactory
.Create("issue", "1234"), // works fine
docPropFactory.Create("image", File.ReadAllBytes(imagePath)), // this is the upload, it doesn't work either..
Do you have any suggestions?
thx!
Ah.. I forgot to mention.. docPropFactory is a custom helper class of mine..
public static class docPropFactory
public static documentProperty Create(string key, object value)
return new documentProperty()
Key = key,
PropertyValue = value
};
}
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Document Webservice and special document properties
Hi,
I've got a document type, which has atwo properties, on a custom data type (a dropdown list with color values), the second of type upload.
How can I fill these properties via the DocumentService..
DocumentProperties =
{
docPropFactory
.Create("issue", "1234"), // works fine
docPropFactory.Create("image", File.ReadAllBytes(imagePath)), // this is the upload, it doesn't work either..
Do you have any suggestions?
thx!
Ah.. I forgot to mention.. docPropFactory is a custom helper class of mine..
public static class docPropFactory
{
public static documentProperty Create(string key, object value)
{
return new documentProperty()
{
Key = key,
PropertyValue = value
};
}
}
}
is working on a reply...