Error::::: Add and Update Operation is not proper in Custom Module for ref. see the below Comment:
Hello All,
I am getting some strange error in Custom Module Implementation.
I have Create one Custom Module Named "Test" sucess fully
Define class of Test Module TestUser.
Define UI interface like AddtestUser and EditTest User.
Now I am able to add testuser and edittest user successfully.
Now I am going to fetch adobe user and add into table success fully.
Now I am going to fetch Courses of adobe and getting error.. my error is i am getting 100 record from adobe connect and i am using foreach and that loop run 100 times and when i am seeing in db table i am getting only 1 record!!!!!!!!!!!!!!. Yes only one record!!!!!!!!!!!!!!!!!!!!Strange but i think kentico Merge function which is used by kentico developer in api is not proper or i am doing some mistake ...btw .. i am adding 100 course and in db only one course is there.....
Do you have any code to share? If the API is inserting at least one record then the module code is working. Sounds like its an error with either the loop or gathering the data.
Please, sign in to be able to submit a new answer.