Can I use a workflow to assign a datacard?

I would like to store specifics about parts and make data cards specific to the type pf part it is.

For example:

If the part type is "shaft" I want a data card to show diameter and length.

If the part type is bearing I want the data card to show ID and OD.

If the parts are checked into the same folder and the file extensions are both .sldprt, how can I get PDM to look at the part type property in the file and map and display the correct properties?

SolidworksSolidworks Pdm/enterprise Pdm