+ Start a Discussion
HeraldAmHeraldAm 

Force.com ide for Eclipse not refreshing reports from server correctly

Hey,

 

I just started using the new Force.com Ide for Eclipse and in theory it is a fantastic addition to the Salesforce set of tools - it will make deployments between environments a whole lot easier.

 

The one problem i have found with it though is that when i 'Refresh from server' on the reports folder the changes aren't picked up within Eclipse.

 

This only seems to happens with reports as i have succesfully updated triggers, classes and a few other components.

 

The only way i can get the changes from the server to Eclipse is by deleting the Force.com project and re-creating it which is not something i intend doing on a regular basis.

 

Has anyone else noticed this problem and if so are there any ways to force the refresh on the reports folder?

 

 

Any and all help would be greatly appreciated.

 

 

Cheers/ 

Best Answer chosen by Admin (Salesforce Developers) 
Siddhesh KabeSiddhesh Kabe

I think ur meta data components are not getting refreshed.

 

Try adding the components to the project.

 

Righ-click on Project in Eclipse IDE, go to Project Metadata components.

 

A new window will pop-up called 'Force.com Project Component' 

Click on Add/remove button.

 

In the window, select 

 

'Reports'

 

Expand reports and ensure you have all your folders there.

 

and 

 

'Report-types'

 

This will refresh your project and get you those reports.

 

Hope it helps,

 

Cheers,

SiD,

http://sidoscope.blogspot.com

 

All Answers

Siddhesh KabeSiddhesh Kabe

I think ur meta data components are not getting refreshed.

 

Try adding the components to the project.

 

Righ-click on Project in Eclipse IDE, go to Project Metadata components.

 

A new window will pop-up called 'Force.com Project Component' 

Click on Add/remove button.

 

In the window, select 

 

'Reports'

 

Expand reports and ensure you have all your folders there.

 

and 

 

'Report-types'

 

This will refresh your project and get you those reports.

 

Hope it helps,

 

Cheers,

SiD,

http://sidoscope.blogspot.com

 

This was selected as the best answer
HeraldAmHeraldAm

Hey Siddhesh,

 

I was indeed missing the 'reportTypes' component from my project so i added this and refreshed the project.

 

Unfortunately this did not solve the issue and the report has still not been refreshed from the server.

 

 

Siddhesh KabeSiddhesh Kabe
Did you check the folder in which you created the report? Is that folder included in the meta data components???
HeraldAmHeraldAm

Hey,

 

It is indeed included in the metadata compontents and i have tried just refreshing that subfolder of 'reports' to no avail. 

GuyClairboisGuyClairbois

Hi HeraldAm,

 

I was having the same issue and resolved it this way:

 

When you refresh from server, only the selected metadata components will be refreshed. However, when you create new reports, these are new components, so they're not automatically included in your project. You will have to go back to the Add/Remove Metadata Components page and refresh that page (button at top-right corner), after which the newly created reports will be available for Metadata Components selection.. Once selected, these reports will also be included in your current project.

 

Hope this helps,

Guy