Add API's for handling the pageconfig passed as a string