Duplicate an ithem from database from live site

hello. i want to know is it possible to duplicate an item from it’s dinamic page?

Hi,
Yes except the system field every thing can be duplicated.
Just get the current item and insert it to the database collection.
For more information:

Good luck!
Roi

Hello dear Roi Bendet.
Thank you for your reply.
Please tell me i have to use wix code and APIs for creating the duplicate feature?
If yes please can you send the tutorial or the code if it is possible?
Thank you in advance!

Hi,
For the first question the answer is yes.
We don’t have a specific tutorial for this feature.
In the links above you have an examples.
There are a few steps to do it

  1. get the current item object
  2. create an object containing the relevant values from the current item.
  3. use the insert method
  4. done
    Please update with your progress.
    Roi

Hello dear Roi,
I have one more question.
Please can you tell me how can I have a search inpute for my database in my live site? When the user types the name it shows the data which contains that name.
Thank You in advance!

Hi,
This tutorial will be helpful.
Roi