web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps save documen...
Power Apps
Unanswered

Powerapps save document in doc library

(0) ShareShare
ReportReport
Posted on by 35

Hello all,

It's driving me crazy, I used Shane's method and it worked in the past but suddenly it doesn't work anymore ( I use the Dutch prefix, so ; instead of , and ;; instead of ;). It's about this part ".sharepointfilelink", it gives me this error no matter what I try: "ongeldig gebruik van '.' , so "invalid use of '.'  (please see screenshot), but the code is the same as that of Shane. Can anybody help me please?


This is my code:

Set(varDemoFromAttachmentControl;JSON(Image1.Image; JSONFormat.IncludeBinaryData));;
Set(varBase64Only; Mid(varDemoFromAttachmentControl; Find(",";varDemoFromAttachmentControl)+1; Len(varDemoFromAttachmentControl) - Find(",";varDemoFromAttachmentControl) - 1));;
Set(varFileLink; test.Run(Last(AttachmentControl.Attachments).Name;varBase64Only;Bedrijf.Selected.Value).sharepointfilelink)

error.png
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard