[Co...] Posted June 12 Share Posted June 12 Hi all! Wondered if anyone could assist with editing and getting the Input Parameters to show correctly in my PiWeb report. I am running Calypso 2020 and was able to get my Input Parameters updated to what I want (although I don't know how to change the order if it is possible). Now that I run a part and expect it to show up in the report, it isn't showing up. I added it to the UserFields Editor and set it as example SAP Lot Number with a name of u_saplotnumber. Then when I go to the report and edit it, I add the title SAP Lot Number and do a right click, Variable, Data Provider, General, Name-Value Pair and I type "u_saplotnumber" but it still doesn't work when I spit out a report. Any advice? I'll attach some snips that I took of what I have done and what I am doing. Thanks all! Link to comment Share on other sites More sharing options...
[Ri...] Posted June 12 Share Posted June 12 I'm not a fan of doing it this way. Go to the Mapping settings in the UserFields Editor, and drag each of your variables into a blank field. Pay attention to the K field that it assigns it to. Now in your text field just set it to the respective K field. ${Qdb.Measurement(20001, -1)} 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted June 12 Share Posted June 12 Also another main reason for mapping them is that if they are mapped, then you can sort for them inside of PiWeb. Link to comment Share on other sites More sharing options...
[Co...] Posted June 12 Author Share Posted June 12 Please sign in to view this quote. Thanks for this Richard! I had already dragged them over into the Mapping section but didnt realize that it was giving me the K value to enter into my PiWeb report. Also, if you are saying you aren't a fan of doing it this way, is there an easier or better way for me to do this that might be easily explained? If not, I'll give this a try and see if it gets me up and running with a custom report finally! 🙂 Link to comment Share on other sites More sharing options...
[Ri...] Posted June 12 Share Posted June 12 Please sign in to view this username. I meant I'm not a fan of using the QDB.Property way. 1 Link to comment Share on other sites More sharing options...
[Ky...] Posted June 12 Share Posted June 12 If I am reading this correct, and mind you I might not be, I think you have an extra set of quotation marks in the qdb.property call. It should be something like ${Qdb.Property("u_saplotnumber")}. The additional quotation marks, especially since they are escaped out, is making it look for something else. That being said, what Richard said about mapping does make things easier, assuming there isn't any sort of conflict elsewhere. 1 Link to comment Share on other sites More sharing options...
[Da...] Posted June 12 Share Posted June 12 Use u_saplotnumber instead of "u_saplotnumber", then it will work. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in