Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Updating a custom resource from an acquisition landing page

robayzma
Level 4
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
robayzma
Correct answer by
Level 4
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
bobbyjss
Community Advisor
Community Advisor

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.

robayzma
Correct answer by
Level 4
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