Try our conversational search powered by Generative AI!

EpiServer CMS v11: Is there a way we could add fields to a scheduled job?

Vote:
 

Hi Everyone,

I have developed some code that would find and replace all references to a given page (whether that'd be in a rich text field, url field, page ref field, or link item collection field).

However, the page references (i.e. the one being searched for and the replacement) are currently hard-coded. 

It'd be great to provide fields in the scheduled job so that we can select the page that we want to find and the page that would replace it.

Thanks in advance,

Sonya

#248407
Feb 09, 2021 18:17
Vote:
 

Are you running this scheduled job automatically at periodic intervals, or are you just running it manually?

If you are just running it manually, I would suggest creating it as an admin tool where it's easier to add fields.

#248446
Feb 10, 2021 13:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.