proposal: retrieve newly created Validation Rule
Steps to reproduce: 1. Create a new IC project with Validation Rule selected. 2. Create a new Account Validation Rule 3. Use the Retrieve Metadata to try to retrieve
The newly created Validation Rule was not shown in the list.
Comments (8)
-
repo owner -
reporter I did a Refresh Metadata as well the same time. It didn't seem helping. Let me try again.
-
repo owner Sorry, not refresh metadata, but refresh the cached metadata selection. There's a refresh button in the retrieval dialog toolbar that actually queries the latest metadata from Salesforce. Otherwise I cache it pretty aggressively because it's a non-trivial expense to enumerate all of the metadata each time that dialog is opened. Here's a screenshot:
-
reporter After I have clicked refresh button as the screenshot in the Retrieve Metadata window, I did not see the new Validation Rule. Thank you again.
-
repo owner Okay...you also need to refresh the subscription. From the dialog you showed, click the pencil icon next to Contents. That will open your metadata subscription. Click the Refresh button next to the Selected radio button. Scroll down to
ValidationRule
and you should see a partial selection. Click that twice to select all validation rules again (this is what I meant by "have the selection work more like an actual wildcard than it does today"), then click OK. You should see your new validation rule(s) in the retrieval dialog. A few more steps than it should be right now, but it should work. I'll see if I can refine that a bit. -
reporter Amazing!!! You have hidden all the great treasures. Do you have a set date for your first release of the User Guide? :) Maybe it will be right after the DreamForce? We need it to discover all those hidden treasures. I have Retrieved the newly created Account Validation Rule by following your instruction. And I also took some screenshot here. Thank you very much again!
-
reporter - changed status to resolved
Feature was generally available before I submitted this issue. I have retrieved metadata by following Scott's instruction. Great help and support. Thank you!
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
Yeah, in this case you need to perform a refresh on the metadata selection to pick up the new validation rule. It's an extra step I'd prefer to avoid. I'll see if there's anything I can to do have the selection work more like an actual wildcard than it does today.