Resource picker not publishing product show

Topic summary

A developer is working with Shopify’s App Bridge resource picker to select products but needs help filtering out unpublished products from the selection interface.

Current Implementation:

  • Using the resource picker from Shopify’s App Bridge library
  • The picker currently displays all products regardless of publication status

Desired Outcome:

  • Only show products that are published/online
  • Hide unpublished or draft products from the picker

Code Context:
The developer shared a code snippet showing their current resource picker configuration with filters for hidden: true, variants: false, draft: false, and archived: false, but these settings aren’t achieving the desired filtering.

Status: The question remains unanswered - no solutions or workarounds have been provided yet for filtering the resource picker to show only published products.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Hello,
I use resourcepicker for select product and it’s show all products but how can I add filter for not publishing product don’t show.
I use this resources :- https://shopify.dev/docs/api/app-bridge-library/reference/resource-picker
how can I do that only online publishing products show.

const products = await window.shopify.resourcePicker({
            type: "product",
            multiple: true,
            filter: {
                hidden: true,
                variants: false,
                draft: false,
                archived: false,
            }
        });