# Update to component naming rules

**URL:** <https://cl.desmos.com/t/update-to-component-naming-rules/1063>\
**Category:** Announcements\
**Created:** [May 22, 2020, 12:18am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063 "2020-05-22T00:18:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![denis](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/denis/32/9_2.png) [@denis](https://cl.desmos.com/u/denis)\
**Post date:** [May 22, 2020, 12:18am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/1 "2020-05-22T00:18:47Z")

</div>

Hey folks,

We added the ability to copy/paste activity screens recently, and we realized that our current rules for component naming needed an update.

We no longer require component names to be unique. If you reference a component from a script, the one on the current screen will win, even if there are multiple components with that name in the activity.

The following situations are still errors:

- several components on the same screen have the same name.
- you reference a component from a different screen, where that component name is not unique

since it’s ambiguous which component you intended in that situation.

We hope this will make it easier for folks to reuse their screens across activities.

---

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [May 22, 2020, 1:22am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/2 "2020-05-22T01:22:19Z")

</div>

A big time saver. Although my OCD might have me go back and have the component names match the screen numbers.

---

<div class="post-metadata">

**Author:** ![Shayne\_Stedman](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/shayne_stedman/32/416_2.png) [@Shayne\_Stedman](https://cl.desmos.com/u/Shayne_Stedman)\
**Post date:** [May 22, 2020, 1:35am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/3 "2020-05-22T01:35:14Z")

</div>

How does the copy/paste activity screens work? Where would I find information on this? Thanks

---

<div class="post-metadata">

**Author:** ![Bryn](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryn/32/40_2.png) [@Bryn](https://cl.desmos.com/u/Bryn)\
**Post date:** [May 22, 2020, 1:54am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/4 "2020-05-22T01:54:07Z")

</div>

Great update! Is there any guidance to which one will be chosen if there are components on the previous and next screens?

I’m hoping that the earlier one will be taken — it matters for cases where you might have a two-screen interaction that you want to repeat multiple times throughout an activity.

---

<div class="post-metadata">

**Author:** ![Krista\_Kammerer](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/krista_kammerer/32/607_2.png) [@Krista\_Kammerer](https://cl.desmos.com/u/Krista_Kammerer)\
**Post date:** [May 22, 2020, 2:47am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/5 "2020-05-22T02:47:19Z")

</div>

@Shayne_Stedman  
Anytime you see the double square icon shown here:  
 ![image.png](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/4382f5a75f9455921ebefd1c60dec9503c90b71c.png)

Click on the double square and you should see:

![image.png](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/d35c135d251b6ff0a65cda5c9c225676cb6da0c7.png)

Go into the activity you want and either right click or CTRL + V to paste into your activity. You can also duplicate screens you want to use over again in the same activity by selecting the three dots at the top of the screen shot in the side bar and selecting ‘duplicate screen’

![image.png](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/76bfe26b0d88aaae7828f137b1ca2b6d114ff86d.png)

---

<div class="post-metadata">

**Author:** ![Bryn](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryn/32/40_2.png) [@Bryn](https://cl.desmos.com/u/Bryn)\
**Post date:** [May 22, 2020, 3:13am UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/6 "2020-05-22T03:13:17Z")

</div>

Actually, sorry – I can now see that my question is answered in the second dot point.

---

<div class="post-metadata">

**Author:** ![FRIEDRICH\_KNAUSS](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/friedrich_knauss/32/528_2.png) [@FRIEDRICH\_KNAUSS](https://cl.desmos.com/u/FRIEDRICH_KNAUSS)\
**Post date:** [May 22, 2020, 2:34pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/7 "2020-05-22T14:34:10Z")

</div>

I know I can import a graph from the graphin calculator to AB by pasting the url into one of the equation slots.

Is there a way to export a graph from the activity builder so that I can copy just the graph but not the whole page?

---

<div class="post-metadata">

**Author:** ![Nick\_Corley](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/nick_corley/32/331_2.png) [@Nick\_Corley](https://cl.desmos.com/u/Nick_Corley)\
**Post date:** [May 22, 2020, 2:45pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/8 "2020-05-22T14:45:56Z")

</div>

Yep! Bottom of the functions there should be a link to view in [Desmos.com](http://Desmos.com)

---

<div class="post-metadata">

**Author:** ![Juan\_Gomez1](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/juan_gomez1/32/524_2.png) [@Juan\_Gomez1](https://cl.desmos.com/u/Juan_Gomez1)\
**Post date:** [May 22, 2020, 2:51pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/9 "2020-05-22T14:51:48Z")

</div>

Hi Friedrich,

It works in almost the opposite way. To export a graph, click on the graph component in AB, scroll to the bottom of the equation slots where you can click on the “Powered by Desmos” icon. Once you click on the icon, it will open the graph in a new window. From there you can copy and paste the URL of the graph where needed!

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [May 22, 2020, 3:16pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/10 "2020-05-22T15:16:51Z")

</div>

Just be careful exporting graphs. If there are folders that are marked as hidden in AB, they will not be visible in the Desmos graph. They still function in the background, but you can’t access them if you need to edit them.

---

<div class="post-metadata">

**Author:** ![FRIEDRICH\_KNAUSS](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/friedrich_knauss/32/528_2.png) [@FRIEDRICH\_KNAUSS](https://cl.desmos.com/u/FRIEDRICH_KNAUSS)\
**Post date:** [May 22, 2020, 3:27pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/11 "2020-05-22T15:27:10Z")

</div>

You’re the best!

Thank you!

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [May 22, 2020, 10:34pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/12 "2020-05-22T22:34:28Z")

</div>

I feel the same way about having OCD for matching names with slide numbers! I almost wish the components would automatically name and/or rename themselves according to which slide they are on. Input1, graph1, etc. would change to input3 or graph3 if you added a few slides in between. And it doesn’t hurt for them to be named if you aren’t using them in CL.

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [May 22, 2020, 10:49pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/13 "2020-05-22T22:49:37Z")

</div>

What if you have several lines of equations that a student entered into AB? I see the Powered by Desmos but it is grayed out.

---

<div class="post-metadata">

**Author:** ![Christopher\_Sewards](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/christopher_sewards/32/660_2.png) [@Christopher\_Sewards](https://cl.desmos.com/u/Christopher_Sewards)\
**Post date:** [May 22, 2020, 11:14pm UTC](https://cl.desmos.com/t/update-to-component-naming-rules/1063/14 "2020-05-22T23:14:48Z")

</div>

That is extremely helpful. I’m going to wipe all memory of me copying and pasting individual lines from a graph…
