This topic contains 6 replies, has 2 voices, and was last updated by ant-workaholic 8 years, 4 months ago.
- Topic
Hello guys. I need your help. I have some entity which already have some attachments (this attachments needs for managers), but in a process in some transition customer should specify another attachments (“proofing image and proofing sheet”) which I will send to customer by email. If I will add this to main attachments I can’t to identify this files. I have added new fields to my entity:
which I called proofing_sheet and proofing_image by this way:12345678910111213141516171819/**** Modifies the given schema to apply necessary changes of a database* The given query bag can be used to apply additional SQL queries before and after schema changes** @param Schema $schema* @param QueryBag $queries* @return void*/public function up(Schema $schema, QueryBag $queries){$this->attachmentExtension->addImageRelation($schema,'rainmaker_proofing','proofing_image');}And then I tried to use this in my workflow:
1234567891011121314151617attributes:proofing_image:property_path: proofing.proofing_image............prepare_digital_proofs:label: "Prepare digitals proofs"step_to: in_worktransition_definition: digital_proofs_definitionform_options:attribute_fields:proofing_image:options:required: trueconstraints:- NotBlank ~But in frontend it shows select in which I can choose all attachments which was uploaded for all entities. Please, give advise how I can do this or what I did wrong.
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.