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 :
Microsoft Dynamics AX (Archived)

Converting string to int64 in Dynamics Connector

(0) ShareShare
ReportReport
Posted on by

Hi everyone.

I am trying to map a string from CRM to an int64 from AX in the Connector for Dynamics. The only function I came across was:
=ConvertToInt, but that is only for int32.

So how do I convert a string into a int64 in the Connector?

Best regards,

Kenneth

*This post is locked for comments

I have the same question (0)
  • Johnkrish Profile Picture
    781 on at

    Hi Ken,

    have you tried this string fuction ? str2Int64


    Regards

    Johnkrish

  • Sohaib Cheema Profile Picture
    49,664 Super User 2026 Season 1 on at

    which programming language you are using?

    if that is C#, did you tried Convert.ToInt64

    if its x++, have you tried str2int64

    if its some other programming language, possibly this is not right forum to get an answer

  • Community Member Profile Picture
    on at

    I do not know which language the Connctor for Dynamics uses. They have a set of predefined functions. You can't use regular code from C# or X++

  • Community Member Profile Picture
    on at

    Hi John. str2int64 is X++ code which I cannot use in Connector for Dynamics. They have their own set of predefined functions and I do not think we can make our own functions.

  • Verified answer
    Community Member Profile Picture
    on at

    To convert a string to int64 you need to use following function:

    =GetRecordIdFromString()

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 34

#1
CP04-islander Profile Picture

CP04-islander 34

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans