Can I filter by CreatorType when using SearchCatalog (CatalogSearchParams)

I want to use SearchCatalog which uses CatalogSearchParams, but there isn’t an option to set creator type. It seems to default to user and if you search with a group, it will just return nothing.

I’d rather not do an external catalog quiery if possible, but it seems like the only way to have a parameter for creator type.

Is there a way to search by creator type with SearchCatalog?

I don’t think it would be possible as there is no current documentation on CreatorTypes in CatalogSearchParams, which is as far as I know the only way to search the catalog without using external resources.

Hope this helps.

A little followup here, I happened to find something on the creator documentation. In this function’s sample code, there seems to be a CreatorType string, so there must be some type of group id setting somewhere but I don’t know since I haven’t tried it, it could be a possibility.

It probably will not work as there’s no mention of groups being set as a CreatorType.

yeah, that confused me too. I saw it returning that, but there was no way to distinguish between them when searching, so if I try the name of a group, it’ll just search as a user and return nothing.

1 Like

I’ve found mention of CreatorType on this docs page, but as you said, CatalogSearchParams doesn’t actually include it. Weird.

1 Like

Sorry for bumping the post. But this is a Enum I found out about, maybe you should check it.

By the way, here is an example of code you can use to search groups (it has to be by name)

local AvatarEditorService = game:GetService("AvatarEditorService")

local catalogSearchParams = CatalogSearchParams.new()
catalogSearchParams.SearchKeyword = "headphones"
catalogSearchParams.CreatorName = "Pandos UGC"
catalogSearchParams.AssetTypes = {Enum.AvatarAssetType.BackAccessory, Enum.AvatarAssetType.ShoulderAccessory, Enum.AvatarAssetType.Hat, Enum.AvatarAssetType.Head}

local pagesObject =
	--This function returns a CatalogPages object containing the results.
	AvatarEditorService:SearchCatalog(catalogSearchParams)
local currentPage = pagesObject:GetCurrentPage()
for i = 1, #currentPage do
	local item = currentPage[i]
	print(item.Name)
end

Thanks for the response. Regarding CreatorTypeFilter, while its handy to have it, there isn’t a parameter for it when making CatalogSearchParams

Also, when using a group name for catalogSearchParams.CreatorName, creator names don’t work for me. I could also imagine group names being an issue if a user and group had the same name. Seems like Roblox never intended for SearchCatalog to be used for groups I guess…

They did intend for it to be used, since it functions.

I suggest limiting it to group names with spaces in them because a majority of users don’t have spaces in their name. Aside from people who do, you should be fine if you did it that way.

Bumping this because it has been a year and some things have changed. Previosuly, there was a workaround which involved adding a space bar at the end of a CreatorName to make it explicitly search for groups.

However, it seems to have been patched recently and all games that used this workaround to filter between users and groups seem to have stopped working.

I believe it would be best to make use of a CreatorType field similar to what the website has. Our players keep reporting that searching for groups does not work and it is usually because there is a matching username that has not made any products.

I have looked all around and found no mention of this being planned to address.

The workaround we had was patched and now there’s no way of filtering by User/Group. I am hoping Roblox can consider adding a CreatorType field soon.