Updating a custom resource from an acquisition landing page

Avatar

Avatar

robayzma

Avatar

robayzma

robayzma

06-11-2018

Hi,

I will try to rephrase this question: Can you update a custom table with values from a landing page in Adobe Campaign Standard?

What is the XPATH to the field in the custom table?

I have tried several things like this field for instance from a normal form this field:

<label class="stacked" id="HtmlPage_htmlPage.cusText">Custom Text</label> <input class="stacked nl-dce-done" type="text" data-nl-ismandatory="false" data-nl-bindto="xpath" data-nl-checkboxbehavior="subscription" data-nl-xpath="/context/Test/Felt1" data-nl-label="Felt1" data-nl-type="string" />

But I can't seem to address the right field

I get this error back

[Error in landing page "Profile_BAC"] Error: [Metamodel] Invalid jpath: /context/Test/Felt1
{anonymous}("/context/Test/Felt1",false)@sirocco:so-mvc-metamodel.js:159
{anonymous}("/context/Test/Felt1")@sirocco:so-mvc-metamodel.js:168
NL_LandingPage_checkInputData([object Object])@/nms/landingPage.js:1192
NL_LandingPage_loadPage()@/nms/landingPage.js:160
_LPT_Profile_BAC([object HttpServletRequest],[object HttpServletResponse])@_LPT_Profile_BAC:248

{
  "pageHistory": [
    1
  ],
  "profile": {
    "lastName": "We",
    "email": "sefew@frewedwed.dk",
    "mobilePhone": ""
  },
  "Test": {
    "Felt1": "ewefdwe"
  }
}

I hope someone knows if it's doable

Kind regards

Robert

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

robayzma

Avatar

robayzma

robayzma

19-11-2018

Hi,

Well as you found out yourself then it doesn't seem to be possible so the answer is to have a flow that updates a custom resource schema with data gathered on the profile.

I might create an enhancement request to the support team.

Kind regards

Robert

Answers (1)

Answers (1)

Avatar

Avatar

bobbyjss

MVP

Avatar

bobbyjss

MVP

bobbyjss
MVP

08-11-2018

Hi Robert,

I believe by default the acquisition landing pages are generated based on the profile data schema.

I'd be interest to know if this is possible too though as we could utilise this feature if it is indeed possible.