---
title: "Tips and tricks when creating a new development space"
canonical: "https://support.appfire.com/space/CPCL/2864841561/Tips%20and%20tricks%20when%20creating%20a%20new%20development%20space"
format: markdown
---
> Macro (aura-html)


## Tips and troubleshooting

### Published page URL

#### > Macro (excerpt-include)



> ℹ️ The target space page **contentId** is NOT the same as the original page **contentID** copied from the production space.

> ⚠️ The public space key remains the same (**PROD**), but any external resources (short link urls, in-app urls, or links from external sites) that rely on the page URL need to be updated as the **contentId**  changes.

### In-page hyperlinks

> Macro (excerpt-include)



IAdding a link to a page outside the source space is treated as an absolute URL when publishing.  The link is not changed on publishing the source space page to the target space.

> ✅ **Links to another space separately configured for publishing in the same Cloud site**
> ✅ 
> ✅  **Ensure you link to the page in the target space** for these linked publishing spaces. This link is not updated on syncing the page  (it is treated as an absolute URL). Adding a link to the other source space would direct a user to a draft page and access may be restricted.

#### Links to in-page headings or anchors in another

In-page hyperlinks to headings/anchors in another source space page (except those created using macros such as the **children **or **page tree** macros) are not updated to the target space when a page is published.

> ℹ️ When using page macros to add dynamic content source space content, for example, the **content by label** macros, set a filter in the macro as `current space`. On publishing the page the macro displays content in the target space.

### Deleting pages after publishing

> Macro (excerpt-include)



### Publishing a child page without a parent

> Macro (excerpt-include)



> Macro (excerpt-include)



### Publish using a Comala workflow

You can automate your publishing using Comala Publishing with a [Comala Document Management](https://appfire.atlassian.net/wiki/spaces/CDMC) workflow applied to the source space pages.

![cpc_graphic_cdm_cp_publishing.png](media://c4e95f62-eb4f-4852-b18f-65f1abc10a67)

You can publish content on a transition to the workflow final state or configure a workflow trigger to publish a page on a different workflow event.

> Macro (contentbylabel)

### Related pages

- [Publishing](https://appfire.atlassian.net/wiki/spaces/CPCL/pages/646120872)
- [User permissions for publishing](https://appfire.atlassian.net/wiki/spaces/CPCL/pages/645334813)
- [Troubleshooting](https://appfire.atlassian.net/wiki/spaces/CPCL/pages/646643958)