Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I exclude ONLY attachments from the livesearch macro?

Hi,

I am using the livesearch macro, and I noticed that it is showing up various file attachments in the immediate results, which I don't want.

Is there a method to configure the plugin to specifically exclude attachments whilst still returning results for every other content type?

I attempted to use the macro shortcut with the parameters:

type=page,comment,blogpost

 

However this seems to not recognise the types that I have defined, and defaults back to the selection of "All" content types when I edit the macro configuration.

Thank you!

1 answer

0 votes

Hello James,

Thank you for contacting us. 

There's not a way to exclude attachments from the LiveSearch macro. Although a feature request was raised for this in the past, it was closed as we don't have plans in the near future to implement this. Have a look below:

  • CONFSERVER-53475 Add Filter on LiveSearch Macro to Include/Exclude Attachments from Search Results

You might be able to use one of the many Search add-ons on Marketplace for this, or write your own User Macro if you are comfortable with that.

I'm sorry that I didn't have better news for you.

Take care,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

342 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you