Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Suraj Borade
7
Views
4
Comments
Solved
Screen action is getting called after refresh
Question
Hello People,
On button click action I have written code to generate XML. I have used "RecordListToXml" control from "XmlRecords" extension in action. First time my XML is getting generated properly. As I refresh my page after XML generation, it gives me this error.
Service Center logs this error stack:
Message:
RecordList has no records.
Environment Information
eSpaceVer: 840 (Id=16006, PubId=19693, CompiledWith=9.0.1.55)
RequestUrl: https://xyz/ProductMDM/ProductLineSearch_LandingPage.aspx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/ProductMDM-51-131049174733917631
FilePath: D:\...\PS\running\ProductMDM.1031720525\ProductLineSearch_LandingPage.aspx
Locale: en-US
DateFormat: MM-dd-yyyy
PID: 2044 ('w3wp', Started='4/11/2016 11:38:54 PM', Priv=985Mb, Virt=18941Mb)
TID: 3
Thread Name:
.NET: 4.0.30319.18444
Stack:
RecordList has no records.
at ssProductMDM.RssExtensionXmlRecords.MssRecordListToXml(HeContext heContext, Object inParamRecordList, RecordList inParamXmlConfig, IRecord inParamDefaultConfig, Boolean inParamAddRootNode, String& outParamXml)
at ssProductMDM.Actions.ActionGenericFunctionforIDS(HeContext heContext, String inParamTextToBreak, String& outParamGeneratedXML)
Please advice.
Thanks and Regards,
Suraj Borade
João Rosado
Staff
Solution
Hi Suraj,
Did you try using the debugger and see where the call is coming from? You sould also be able to see what parameter is wrong on the second call.
Just place a breakpoint in the extension call.
Regards,
João Rosado
See solution in context
J.
MVP
Please provide the oml where you are experiencing it, it could be anything...
Kilian Hekhuis
MVP
If you refresh the page, depending on the way you are doing it, it could be the local vars are reset in the preparation. But like J said, it could be anything.
João Rosado
Staff
Solution
Hi Suraj,
Did you try using the debugger and see where the call is coming from? You sould also be able to see what parameter is wrong on the second call.
Just place a breakpoint in the extension call.
Regards,
João Rosado
Suraj Borade
Hi Everybody,
Thanks a lot for the suggestions. I am debugging an application to find why this is happening only when I refresh after generating an XML file.
Regards,
Suraj Borade
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...