Updating a custom resource from an acquisition landing page | Community
Skip to main content
robayzma
Level 3
November 6, 2018
Solved

Updating a custom resource from an acquisition landing page

  • November 6, 2018
  • 2 replies
  • 2574 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by robayzma

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

2 replies

El_Loco
Level 5
November 8, 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.

robayzma
robayzmaAuthorAccepted solution
Level 3
November 19, 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