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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Codeunit "Certificate Management" method 'GetCertAsBase64String'

(0) ShareShare
ReportReport
Posted on by 45

Hello

i cannot Use Certificate Management.GetCertAsBase64String method for extensions for this i create my own becuase i need the certificate that the user Upload, when i debug the native BC the Certificate Management.GetCertAsBase64String get the certificate string with no problems but when i call my method do not find the data on the ISOLATEDSTORAGE.GET i am sending the same parameters that the native code

The data storage is configure as company and User and when i send it on the get i send it the rigth scope and nothing is retrieve this is why i am asking if something is missing

and no i try with the other two options (user and company) and i have the same result with natvie code retireve the data and with my code don't

i am loosing something to call the get from ISOLATEDSTORAGE correctly?

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    What do you mean by "native" and "my method"?

    A key in the IsolatedStorage must be written by using the SET method and if you're using the same Datascope for writing and reading that key you should have the right value:

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/isolatedstorage/isolatedstorage-set-method

    Maybe post your code.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans