Uploading File - no UI

I have problem with uploading file in workflow for next processing. I created screen section witch blob control, set blobmember to blob in SD entity and created screen with this screen section.
I have workflow with context store set to SD structure with blob virtual field. First step of WF is init of SD structure and second step is showing UI with form to upload file.

SD init

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="AS date">

    <xsl:template match="ROOT">
            <SD Id="{AS:GenerateId()}"/>

Setting of screen section

Setting of screen

What is your DataBindings setting on the BlobControl? The blob widget has to be created on top of a String field. The file name will be stored there. BlobMember si set correctly to a field to which the binary object will be stored.

And there is one thing – if you are extending an entity from another package (I suppose you are extending the SD entity from the Root package) you should use some prefix for the field name. Otherwise you risk that the package creator adds a field with the same name and there will be a naming collision.

OK, I understand, but I have a problem. In databinding is nothing and can´t open advanced under databinding.

In order to get the correct data binding you need to:

  1. Select a text field (for the file name) in the list of fields
  2. Switch to the Widgets tab and drag & drop the BlobControl widget to the canvas

This way the widget will be bound to the previously selected field. You need to remove the current unbound blob widget from the canvas.

Thanks a lot. It´s working :sunglasses: . Is there a way how to set only upload on blobcontrol dropdown? I use writeonly on datastructure on blob discus in this topic. But result is still same.

No, there is currently no way how to display only the “Upload” button.