Hi,I need to add custom divisions in my page and configure it using javascript?
Asked by arjunsudhas:

when i tried this using inbuilt html macro i was not able to do it on the div macros.when i wrote the div code inside the html code i was not able to style it.

is this feature to configure divisions and styling using js available in confluence cloud?

if not when to expect the same in confluence cloud.

i would like to add to my question.i want to create lists(sharepoint like) in my confluence pages,how to do this?any feature available?


Answers:
author: Zak Laughton
body: Hi Arjun!

**Custom divs/Javascript**

You can add custom divs and javascript onto a page in Confluence Server using the HTML macro. If you include the code you're using, I'd be happy to take a look and see if I can tell why it's not working as expected.

**Cloud availability**

Custom divs/styling is not available in Confluence Cloud, and there are no plans to add this in the near future (see [Restricted functions in Confluence Cloud](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html?_ga=2.164360380.2033851322.1532354945-87664873.1526309663), [CONFCLOUD-7629 -- A secure HTML macro](https://jira.atlassian.com/browse/CONFCLOUD-7629)).

There are, however, third-party plugins that offer this functionality. You can search the [Atlassian Marketplace](https://marketplace.atlassian.com/) and find plugins like...

* [Contant Formatting for Confluence](https://marketplace.atlassian.com/apps/247/content-formatting-for-confluence?hosting=server&tab=overview)
* [HTML Macro for Confluence Cloud](https://marketplace.atlassian.com/apps/1212279/html-macro-for-confluence-cloud?hosting=cloud&tab=overview)

**Sharepoint lists**

I'm not familiar with Sharepoint lists. Could you describe the functionality you're looking for along with a screenshot of an example?

Thanks!  
Zak

comments: author: arjunsudhas
body: A **SharePoint list** is a container for information, similar to a very simple database or spreadsheet. Using a **list** is the most common way to manage information in a **SharePoint** site. In a **list** , data is gathered in rows, and each row is known as a **list** item.

![list.png](https://community.atlassian.com/t5/image/serverpage/image-id/28050iC11608B13BFC95B9/image-size/large?v=v2&px=999 "list.png")

when you wish to add dynamic information we updates list so that it will be easily reflected in page.


author: Zak Laughton
body: Unfortunately, Confluence does not offer this specific type of functionality. If you just want to organize information in a grid, you could use a Confluence table, but this doesn't offer updating of dynamic information.

However, there are a few third-party plugins in the Atlassian Marketplace that offer Sharepoint connectivity that may have some of the functionality you're looking for. See some in the search results [here](https://marketplace.atlassian.com/search?product=confluence&query=sharepoint).

There is also a feature request open with with our developers to provide Sharepoint list-like functionality in Confluence: [CONFSERVER-54037](https://jira.atlassian.com/browse/CONFSERVER-54037). Feel free to vote and comment on this feature request to help give our developers more context around the suggestion (see also: [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)).

Thanks!  
Zak