Hello Community,
I need a list of pages from my confluence DC instance where weblinks are embeded starting with specific text. Tried the db query from this article but it isn't returning anything. Any help would be appreciated.
Thanks,
Mayuresh
Those SQL queries should return something. Maybe used a wrong parameter?
As in..
like '%example.org%'
Where 'like' is case-sensitive; % is an "anything" wild card. The content column itself is a bunch of markup with the text nested somewhere in the middle so you do need both starting and ending %.
You can also try 'ilike' for case-insensitive search, and if not supported by your db use "lower" function to workaround it:
where LOWER(b.body) like '%example.org%'
Otherwise, nothing means nothing. If you do see a page containing a link then paste the source format / screenshot / something from that page for us to see and the SQL query you used, there's got to be some discrepancy somewhere.
Hello @Mayuresh Kamble
Back in my Server days, I used a search and replace app from the marketplace for that very purpose and it worked like a charm.
Can't remember the name now, it's been 3 years now but chances are that you'll find it or a similar app in the marketplace today for a DC setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.