I have a page type (let's call it MyPageType
) with a field PreviewImage
that is of data type File
.
I am trying to use the Kentico APIs to upload files from the server to that PreviewImage
field on the MyPageType
page type. From what I can see it seems that I have to upload the file somewhere and then the uploaded file will have a GUID
that I can use for the PreviewImage
field.
答案 0 :(得分:0)
这是您的文档中的API示例,用于在页面类型字段中插入附件。