On Fri, Aug 7, 2015 at 9:01 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Matt Price <moptop99@gmail.com> writes:

> I have a headline like this:
>
> * Gradebook
> :PROPERTIES:
> :CUSTOM_ID: gradebook
> :END:
>
> some content etc etc etc.
>
> I would like to be able to replace the contents of that headline
> automatically, but retain the properties.

  (org-link-search "[[#gradebook]]")

  (delete-region (org-end-of-meta-data)
                 (progn (outline-next-heading) (point)))


Thanks for the wizardry, Nicolas.  Very helpful.
You can also create contents with a dynamic block, which will replace
contents at each update.

can you just provide a skeletal example so I understand better wha that means?  thanks so much!
 
Regards,

--
Nicolas Goaziou