If you want to have a career, develop a network, even the kind which isn't relevant to your job, and a network with higher rank people, unless your position is very exposed.
Most people developing a career are working for themselves, do what looks good, not what is the best for the company.