The disclosures herein relate to novel compounds of Formula I: I or a pharmaceutically acceptable salt thereof, wherein X, Y, A, Ring B, R1, R2, R3, R4, R5, R6, R7, m and n are defined herein, and their use in treating, preventing, ameliorating, controlling or reducing the risk of disorders associated with EP4 receptors.