Peter, U - 2025-10-21

Hello,

I 've ran into a problem. I tried to add a new field to Class whitch is contain file.
On the console everything is Ok (I can upload file, I saw the details and so on. On the Portal I can see the field, but I cant upload file.
I cheked the source and as I see the code isn't complete in portal side (BsFileUploadFieldRenderer). It work only for Attachment class..
Could anyboudy give me some advise how can I use AttributeBlob in portal?
Thx

The definition :

  <classes>
  <class id="UserRequest" _delta="must_exist">
          <fields>
              <field id="AttachMentFile" xsi:type="AttributeBlob" _delta="define">
             <sql>attach_one</sql>
             <is_null_allowed>true</is_null_allowed>
             <label>a</label>
             <description>a</description>
             <on_target_delete>DEL_MANUAL</on_target_delete>
        </field>
      </fields>
   <presentation>
        <details>
          <items>
            <item id="AttachMentFile">
              <rank>145</rank>
            </item>
               </items>
           </details>
      </presentation>
</class>
   </classes>
    <module_designs>
        <module_design id="itop-portal" _delta="if_exists">
            <forms>
                <form id="ticket-create" _delta="if_exists">
                    <twig>
                        <div id="service_details_placeholder" _delta="redefine">
                            <div class="form_field" data-field-id="AttachMentFile">
                            </div>
                        </div>
                    </twig>
                </form>
            </forms>
        </module_design>
    </module_designs>