atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

[confluence] Overiding Images As "NaN"

Open Basavaraj-PN opened this issue 1 year ago • 1 comments

Hi, I'm trying to update table in confluence page from below code. If there are any images in the table that are uploaded(to table) manually are getting updated / over written as "NaN" after calling update_existing_page()

table = pd.read_html(page_content)
table = table[0]
table_df = pd.DataFrame(table)

test_data = {
    'Date' : [str(date.today())],
    'Comments' : 'Uppit',
}

html = table.to_html(index=False)


conf.update_existing_page(
    page_id,
    page_title,
    body=html,

)

Basavaraj-PN avatar Aug 22 '22 09:08 Basavaraj-PN

Hi @Basavaraj-PN , could you check in storage format on page the exact changes, please?

gonchik avatar Sep 11 '22 13:09 gonchik