Using an endoscope to view the stomach, your provider will inject dyes into the biliary tree and pancreas so they can be seen on X-ray.