Change the class name while saving the data.

Hi,

I have one requirement, i have to save the same data in different 2 tables. Both tables are identical. For Example the user enter the data in one class (HDFC-IND-Data-EmpDetails), same data we need to save in (HDFC-IND-Data-UserDetails). how can we handle in activity? Please help me.

Thnaks!

Hi @SuryaN17231436,

In activity create a new page called userdetails of class HDFC-IND-Data-UserDetails. and in next step property set with values entered in pyWorkpage to the newly created page userdetails and in next step obj save with writenow option of user details page.

Thanks

Regards

Satya

Hi @SuryaN17231436

In activity we have one method (Page-Change-Class), while saving the data use this method and 2nd class pass as a parameter to “objclassnew”. then use save method to save the data. it might be help you.

Hi @Pandari Kadaji,

you change the page name but how can you save the data

you should use obj save method right and you should specify the page

then only it should save

but you have changed only page name structure

can you explain how can you achieve the requirement