Get id from text in url

Created on 27 July 2024, 10 months ago

Problem/Motivation

This works fine
Link1: mysite.com/node/add/report?&user=1
Epp1: target_id: '[current-page:query:user]'

But with this method, the user ID appears in the link, which should not be visible. (user=1)

I changed the link pattern according to the username but it doesn't work. (user=janedoe)
Link2: mysite.com/node/add/report?user=janedoe
Epp2-1: target_id: '[current-page:query:user]'
Epp2-2: value: '[current-page:query:user]'
Epp2-3: target_id: '[current-page:query:user:id]'
Epp2-4: [current-page:query:user:uid]

I tried to get node author id from node (task-content) but it also didn't work
Link3: mysite.com/node/add/report?task-content=116
Epp3: target_id: '[current-page:query:task-content:uid:entity:uid]'

How can I get the id-token from the username in the URL or run EPP with text in url or something else?

Any EPP token idea please , thanks

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024