Hello everyone, Is it possible to expose custom re...
# suitecommerce
l
Hello everyone, Is it possible to expose custom records like Projects and all it's related records like sales orders, etc, and expose everything in the SC My Account? I was thinking maybe exposing that via a saved search but not sure..
s
So, generally speaking, showing saved searches in My Account is straight forward. As for projects specifically, it should be possible and it is something we (NetSuite) are looking into adding in the core product, but it's not something we've done yet.
I wrote this tutorial (squints) four years ago but it should still be good https://developers.suitecommerce.com/integrate-a-saved-search-into-a-web-store-customization.html
l
Thanks @Steve Goldberg. Yes I was reviewing that tutorial but wasn't sure if it could work on the SC MyAccount since it's pretty relative new product. I'll continue testing base on that. Thanks
@Steve Goldberg, quick question... If I'm doing a log of the Profile model, should I be able to see inside the attributes the Projects related to that customer when I do a log of the Profile model?
s
No
Generally the profile model mirrors the customer object in the commerce API https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N2503226.html
l
@Steve Goldberg Makes sense. Thanks for that clarification. I'm trying to adjust the example of exposing a Saved search from Kilimanjaro to 21 version. Everything that is under the .Router.js in Kilimanjaro version, in the new one can be added directly in the View.js, correct?
s
I can't really answer that so flippantly. I would need to spend a considerable amount of time reviewing and revising the code (which I'm not going to do, sorry)
👍 1
l
I was asking only high-level obviously. Thanks anyway! Appreciate your help