Hi Jason!
This error reads like your module parameters are either not configured correctly or the updated configuration is not being picked up for use when running locally.
So once you've added the module paramaters your configuration should look something like this:
"NewFeature": {
"overpanel": False,
"primary": False,
"navigable": True,
"formPostAuth": True,
"url": "./sdk/authenticated/{featureName}",
"meta": {
"type": {
"shape": "Content",
"context": "None",
"overpanelReady": True
},
"params": {
"zip": {
"replace": True,
"type": "string"
}
}
}
}
The CLI should ask you "Would you like to update the current environment tecton config now?". You can either do that or restart your server to make sure the new config gets picked up when loaded. When you open your feature you should see a line like this in the logging: Transition: routing to 'default/feature_manifest'. That should be picking up the config you just added to.
Then to navigate to that feature you'll pass the feature name, module name, and your new query param.
tecton.actions.navigateTo({
featureName: 'NewFeature',
moduleName: 'Main',
queryParams: {'zip': '90210'}
});
Let me know if this helps. If not, I'm happy to take a look at your code if it is pushed up and make sure we can get you rolling.
Hi Adam,
Thanks for the specific details! I had exactly what you are showing above, but for some reason the navigateTo was failing every time.
All I did after checking against your example was to shut down everything and start it all back up again and now it is working perfectly.
I must have had a bad file or a "stuck" process or something along those lines.
Thanks,
Jason