Skip to main content
10 events
when toggle format what by license comment
Dec 5, 2022 at 15:25 comment added MatejN Thanks, that makes a lot of sense!
Dec 5, 2022 at 15:24 vote accept MatejN
Dec 5, 2022 at 15:06 answer added Elivelton Walter timeline score: 1
Dec 5, 2022 at 15:01 comment added Elivelton Walter oh right, sorry I just realize it, what is happening is because the way JavaScript works, I'll write the answer
Dec 5, 2022 at 14:42 comment added MatejN there is non.In the first run console.log('3',this.recId) is undefined in the2 nd run its defined with the valid id and correctly redirected. It looks like during the first run, id is not initialized, only when I run it on the second run, I can get the value and also see it in the log. createARwithPTH(Apex) creates new object and returns its Id
Dec 5, 2022 at 14:07 comment added Elivelton Walter on the first time, what is the ID on the URL?
Dec 5, 2022 at 13:53 comment added MatejN Done, its there, as I said, it is working, but always on the socond try :D
Dec 5, 2022 at 13:51 history edited MatejN CC BY-SA 4.0
added 241 characters in body
Dec 5, 2022 at 13:48 comment added Elivelton Walter Please add the class declaration, the navigateMixin needs to extend extends NavigationMixin, so could you add it on your question, so then we can discard this possibility
Dec 5, 2022 at 13:39 history asked MatejN CC BY-SA 4.0