Skip to main content
Nintex Community Menu Bar
Question

Clone page not cloning line item ?

  • July 10, 2024
  • 10 replies
  • 3 views
  • Translate

Forum|alt.badge.img+3

I have Estimate and EstimateLine Objects. EstimateLine is a child and Estimate is a parent. “Estimate__c” is a look-up to Estimate object.  
                 Whenever I clone the page, it will clone Estimate but show  error on EstimateLine “‘’ error on qeury: Select group, name, …  from EstimateLine  .where (Estimate__c =‘clone_1’)‘’‘’  , invalid Id field ‘clone_1’ .
 
I have a condition in estimateLineModel EstimateLine records where Estimate__c is a id  field from the first row returned from EstimateModel"

My clone button action  url :  “/apex/EstimateDetail?id={{Id}}&clone=1

I don;t know why its grabbing ‘clone_1’ instead of actual Id ?



Did this topic help you find an answer to your question?

Forum|alt.badge.img+3

Hi Amish

On your models, how is the property ‘Clone data returned by Model query’ set up? Because when your query returns cloned records, you get id’s like clone_1, clone_2, clone_3 and so on…

Translate

Forum|alt.badge.img+3

This is how I set up…We didn’t have any issue before but once we pushed the package we are having this issue…

Translate

Forum|alt.badge.img+3

Hmm… I’m not able to reproduce that error…

  • Do both models have the same properties there?
  • Which version of Skuid are you using?
Since the Estimate is cloned correctly, I assume that the id in the url is correct. So you could try to set the condition of the LineItem model to the url parameter as well.

Translate

Forum|alt.badge.img+3

Yes,
  Both models have same properties. And the version of Skuid is  8.15.2,  Version Name : Rockaway Point Release - Iteration 7 on My Dev org…
Do it has something to do with version ?

Translate

Forum|alt.badge.img+3

Did you try to set the condition of the estimateLine model to Estimate__c = url parameter id?

Translate

Forum|alt.badge.img+3

Yes,
    But when i do this, It will not copy line-items to new Estimate record, instead it will add a copy to the old estimate record.

Translate

Forum|alt.badge.img+10

Amish,

Did you ever get a resolution to this?

Translate

Forum|alt.badge.img+3

Tami,
     I had this cloning issue with old version (Rockaway). It got fixed somehow a while back. I hear the new version of skuid (Brooklyn) is also having the similar issue. 

Translate

Forum|alt.badge.img+10

Amish,

Thanks for getting back to me. Yes, I am having this same issue in Brooklyn. Hopefully, they get this fixed soon.

Translate

Forum|alt.badge.img+3

Tami,
           Ur welcome !  Hopefully they  fix all the errors in this Brooklyn version. Brooklyn version has  lots of extra features and its pretty cool, but on the other side, it also has lots of errors !

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings