Hi Scott,This is a tricky one. I assume you're talking about copying and pasting across pages. We've looked into it before (copying actions with objects), and we always get stuck in the mud of unintended consequences. What happens if you copy multiple objects? Where will it paste the actions (on top of existing actions)? If every copy and paste has a dialog box that you must click through, that would slow down a very common practice. We have not landed on a solution where the pros outweigh the cons, or that matches most use cases.
That being said, there are some things that make this easier.
- In our next release, you will be able to copy all the actions in an entire canvas, and then paste them all at once! You'll still need to repair the actions (point to the appropriate objects), but the structure will be there. This is probably the closest to what you're asking for.
- You can currently use tags to make your actions more generic. Then when you copy the object (that has a tag) and the action (that works based on that tag) you won't have to repair the action. https://www.screencast.com/t/iGs7zbVhV2b Is this more efficient than copying and pasting actions and repairing them? Depends on how many times it is reused.
- You could create your own template. Usually the effort of creating a template, saving it, importing it, applying it, and then customizing it is not worth the time - often copying and pasting is faster for a specific task. It also depends on what parts need to be customized.
- If you copy and paste an entire page to use as a starting point for your new page, it will copy all the objects and actions. Obviously this doesn't help if you've already built the page and are adding functionality later, but if you know ahead of time that a particular page is going to be similar to an existing one, then it might make sense to use that as a starting point.
- Masters - if your button is only used on certain pages, but it's always in the same place, you could put it on a Master and fire a Global Event to do whatever it needs to do. And then selectively choose which pages use that Master.
Which solution is best depends on what you're doing, and how much of it is being reused vs what needs to be customized each time it is used.
If you want to email us with the details of your particular use case, we can take a look and offer our recommendation.
Hope that helps!