Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Updating a custom resource from an acquisition landing page

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

View solution in original post

2 Replies

Avatar

Level 6

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.

Avatar

Correct answer by
Level 4

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