Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I followed the link https://dynamicsuser.net/nav/b/ara3n/posts/creating-qr-code-in-nav-2016 to generate a QR Code.
If I do not save QR code to local, is it possible I add QR code to table's field?
You can use Outstream to save the image to BLOB field.
Hi I Gusti Made Ari Permadi
Thanks for your reply. I followed your way, to add PictureStream as Outstream.
But I got one error when save the QRCode. Do you know how I can fix it?
DummyTempBlob@1012 : Record 99008535;
InStr@1010 : InStream;
DummyTempBlob.INIT; DummyTempBlob.Blob.CREATEINSTREAM(InStr); Bitmap.Save(InStr,ImageFormat.Jpeg);
Check your .net variable properties, set RunOnClient property to Yes
I checked all net variable, they are all yes. But I found the error is Dynamics.NAV.Ncl. This one is not any variable in my code.
Hi Suresh Kulla
I followed your way, but I got an error about "IMPORTSTREAM"
It is a variable or function? If it is a variable, how I should define it?
However, even after delete code about "IMPORTSTREAM", I have same error when it is saving bitmap.
What is your NAV Version? You need to define QRCode as MediaSet. If not you can try this with blob field.
I don't think you have added the code as I have described, create instream for a tempblob not on your field, create outstream for QRCode field and use COPYSTREAM function to copy instream to outstream.
My version is NAV2015.
How can i define QRCode as MediaSet. Yes, now, it is a blob field.
However, I guess right now, the main problem is still in bitmap.save(). I cannot save QR image to the InStream and OutStream because when I debug it, the code stop at bitmap.save()
But all DotNets' RunOnClient are yes.
Business Applications communities