43
Views
3
Comments
Solved
Cant get popup to work even when following tutorial
Question
Application Type
Reactive
Service Studio Version
11.54.3 (Build 62213)
Platform Version
11.20.0 (Build 38549)

Hi all, I'm following the tutorial for creating a order management system. I'm around 80% done but with the popup feature I can't get the button to do anything even after creating the logic action for it to 'popup'. 

  • I have created a client action. 
  • I have created a assign that has the local variable associated to the popup toggle (Boolean) 
  • I have set the variables value within the assign.
  • I have created a refresh data on the logic flow and triple checked to make sure it's the correct data source. 

This is becoming an issue as now I'm working on the logic flow of the popup with things like item price calculation, but I can't really test it after publishing as I can't actually view the popup after it's been published. 

I'm sure that there is something that I've overlooked but I don't really want to progress any further without this being functional, and I've spent quite a bit of time on this already. Please see the attached files. Thanks! 

P.S - For reference im currently on stage 7.1 of the training material for the tutorial. 

Order ManagementVer1.oap
2023-10-21 19-42-11
Tousif Khan
Champion
Solution

Hello

I have checked your file and what I observe your popup itself is in an If condition
Which I guess is the reason for not showing the pop-up even if you are setting the property of your variable
Show pop-up to true

Since you are not assigning nullIdentifier to your order id in the add new action, it might contain some not-null value. That is preventing your popup to get opened.

Try to put your pop-up outside of the if node and I hope this will fix your issue

If you can see the picture in a PDF tutorial file, he put the pop up inside the footer placeholder.

Thanks
Tousif Khan

UserImage.jpg
Morgan Kemp

Hi Tousif, thanks so much for getting back to me. I had a inkling that I had messed up with the front-end of things. Still getting used to the click and drag aspect of things. 

Thank you again for your detailed response, have a great day! 

2023-10-21 19-42-11
Tousif Khan
Champion

Your Welcome :)
I am glad that I was able to help.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.