access file records using a URL

I can access a record in our probsummary table using a link like:

"" target="_blank">https://mydomain.com/sc/index.do?ctx=docEngine&file=probsummary&query=number="PM123456"

but when I tried with a new table I created, i could not use same structre.

do I need to do something to enable this new table for external link access?