У нас вы можете посмотреть бесплатно Weekly AI Agent Tip #9: Moving List Attachments to a Library for your Agent или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this weeks mini-learning tip I'll share an idea I have related to the current constraint (as of November 25) where Copilot Studio Agents that are using a list do not reason over the list attachments. This is just an idea, and it could use some more flushing out, but I wanted to get your opinion. Perhaps if you like this we could add the flow as a template in the product. IMPORTANT: I did find out that you can just use a flow without the custom form (you'll get attachments as your first on change value in that case). That approach might make the file conversion a lot easier to handle. The passing of the right file type from Power Apps can be challenging. Using a standard flow when something changes (let me know if you need a video on this simpler option): 1. Use the Get attachments action to retrieve all attachments for the list item by ID. 2. Add an Apply to each loop over the attachments. 3. Use Get attachment content to retrieve the file’s binary content. 4. Use Create file in your Attachments library, setting File Name to DisplayName and File Content to the output of Get attachment content. My notes on the custom form: **Side point: Check our documentation on file size limitations. Use the attachment control to ensure files are not too large to reason over. **Attachment control 'OnAddFile': Set( varLatestFile, { name: Last(Self.Attachments).Name, contentBytes: JSON(Last(Self.Attachments).Value, JSONFormat.IncludeBinaryData) } ); //Remember to use your control's name P.S. This is better the using first as was in the video. **SharePoint Form 'OnSuccess': If( !IsBlank(varLatestFile), CopyFiletoLibrary.Run( //remember to use your flow's name SharePointForm1.LastSubmit.ID, SharePointForm1.LastSubmit.SKU, //replace SKU with your flow input(s) varLatestFile //This is a record (Name + Value) ) ); Set(varLatestFile, Blank()); //resets the variable after copy ResetForm(Self); RequestHide(); **Flow Create File Action Expressions: FileName: triggerBody()?['file']?['name'] FileContent: dataUriToBinary(triggerBody()?['file']?['contentBytes'])