Announcement

Collapse

Information Needed

See more
See less

GlobalController breaking: Variable does not exist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GlobalController breaking: Variable does not exist

    We're getting the below errors when we try to compile all classes. I've chased down possible problems in our own code that might be causing this, but I can't find any .... of course, I'm not certain exactly what's going on in the code ... I can only assume that it's trying to reference the standard Contact field.

    Compilation Complete

    Compilation Errors found:
    GlobalController: line 1259, column 463: Variable does not exist: MiddleName
    GlobalController: line 1311, column 195: Variable does not exist: MiddleName
    GlobalController: line 1644, column 221: Variable does not exist: MiddleName

    Thanks,
    Nick

  • #2
    Good day @Unportant

    To avoid the above error, please enable Middle Name at User Interface.



    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      CnP.Support.AM , thanks for the response. I'm not sure what you're talking about.

      * I can't find anything like this in CnP Settings in SFDC or in CnP proper (which shouldn't be applicable anyways, as this is similarly not working in sandboxes that aren't hooked up to CnP).
      * In the "Contact & Account Mappings" section of CnP Settings, there's the following warning text ... which also refers to a page in the Settings that does not seem to exist:* ​​I found a help page about some post-install updates that need to be made in sfdc after Winter '21 .... but it all seems to be about CnP Events, and doesn't really apply to us.
      * The running user in SFDC does have access to the MiddleName field.

      Thanks,
      Nick

      Comment


      • #4
        Good day @Unportant

        It is a known issue and hopefully will be addressed in an upcoming release. However, for now, the workaround is to enable the Middle Name at User Interface: Go to SFDC > Setup > Customize > User Interface > Name Settings.

        Click image for larger version

Name:	middle name.jpg
Views:	25
Size:	917.9 KB
ID:	63778
        Regards,
        Click & Pledge Support Department

        On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
        Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

        Comment


        • #5
          CnP.Support.AM okay, thanks .... I can't find this issue being tracked anywhere, or even mentioned anywhere. This workaround has collateral damage for us, so we're in a bit of bind unless the underlying issue gets fixed sooner than later.

          Comment


          • #6
            Good day @Unportant

            This issue has been identified while testing for the upcoming version and will be addressed in the next release.

            Sorry for the inconvenience.
            Regards,
            Click & Pledge Support Department

            On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

            Join us @ the educational webinars: https://clickandpledge.com/webinars/
            Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
            Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

            Comment

            Working...
            X