BHegnauer Posted May 24, 2018 Share Posted May 24, 2018 I'm using a Pages database to integrate with CloudFlare so our clients can make simple edits to their DNS. All of that is working great. Right now I have the title field hidden from all groups. It defaults to "DNS update in progress" so that the user doesn't need to enter anything when creating an entry, and I'm updating that title field with data I get from the CloudFlare API response (to something like [A] record.domain.com => 192.168.1.1) My problem is that the URL slug doesn't update when the title updates, so it's always something like /dns-update-in-progres-r15/... Which looks sketchy to the client. Is there a way to have this particular database ONLY use the entry ID in the URL? Is there a better way to set the title up so that it pulls the content of the other fields right away rather than waiting for the API to provide the response that triggers the entry update? Link to comment Share on other sites More sharing options...
opentype Posted May 24, 2018 Share Posted May 24, 2018 {{$record->record_static_furl=$whatever_you_want;}} {{$record->save();}} Link to comment Share on other sites More sharing options...
BHegnauer Posted May 25, 2018 Author Share Posted May 25, 2018 Thanks, @opentype! This helped get me on the right track. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.