Skip to main content
added 1483 characters in body
Source Link
Axiom
  • 145
  • 9

--

Proposed Solution:

[Results] => Array
    (
        [PartnerKey] => 
        [ID] => 0000000000
        [ObjectID] => 
        [EmailAddress] => [email protected]
        [Attributes] => Array
            (
                [0] => Array
                    (
                        [Name] => Email Address
                        [Value] => [email protected]
                        [Order] => 4
                        [Hidden] => FALSE
                    )

                [1] => Array
                    (
                        [Name] => First Name
                        [Value] => John
                        [Order] => 1
                        [Hidden] => FALSE
                    )

                [2] => Array
                    (
                        [Name] => Interest Level
                        [Value] => 75%
                        [Order] => 3
                        [Hidden] => TRUE
                    )

                [3] => Array
                    (
                        [Name] => Last Name
                        [Value] => Smith
                        [Order] => 2
                        [Hidden] => FALSE
                    )

            )

        [SubscriberKey] => [email protected]
        [Status] => Active
    )

--

Proposed Solution:

[Results] => Array
    (
        [PartnerKey] => 
        [ID] => 0000000000
        [ObjectID] => 
        [EmailAddress] => [email protected]
        [Attributes] => Array
            (
                [0] => Array
                    (
                        [Name] => Email Address
                        [Value] => [email protected]
                        [Order] => 4
                        [Hidden] => FALSE
                    )

                [1] => Array
                    (
                        [Name] => First Name
                        [Value] => John
                        [Order] => 1
                        [Hidden] => FALSE
                    )

                [2] => Array
                    (
                        [Name] => Interest Level
                        [Value] => 75%
                        [Order] => 3
                        [Hidden] => TRUE
                    )

                [3] => Array
                    (
                        [Name] => Last Name
                        [Value] => Smith
                        [Order] => 2
                        [Hidden] => FALSE
                    )

            )

        [SubscriberKey] => [email protected]
        [Status] => Active
    )
Source Link
Axiom
  • 145
  • 9

How Can I Create an HTML Page with the Subscriber Attributes in the Correct Order?

I am retrieving the Subscriber from the API.

The Marketing Cloud advertises an Order field in the Profile Management section, that allows attributes to be ordered. Also, there is a "Hidden" checkbox in the properties dialog box for an attribute to be hidden from the subscriber.

Issue: Unfortunately, the Order integer, and the Hidden boolean are not provided in the response from the API. There seems to be some missing data in the response from the API, because it is not a reflection of the Profile Management section in the Marketing Cloud.

Use-case: I'm building a custom preference center that is integrated with the ExactTarget API. The preference center is using a content engine to dynamically write the HTML using the data retrieved via the API Call. Because I am relying on the ExactTarget API for the data, I'm hoping the API would have the ability to reference the Order and Hidden fields in the response, so I can iterate over these objects and print their values through my PHP engine.

--

Is it possible to add these extra values into the Attributes of the Soap Response?