ಪರಿಹಾರ: BDC ಆಯ್ದುಕೊಳ್ಳುವುದು ಫಲಿತಾಂಶಗಳು ಮಾತ್ರ ಕಾಲಮ್ ತೋರಿಸುತ್ತದೆ

ಒಂದು ಒದಗಿಸುತ್ತದೆ ನನ್ನ ಮೇಲೆ ಚಿತ್ತದ ಪ್ರಯತ್ನಗಳಲ್ಲಿ BDC ಬಳಸಿಕೊಂಡು ಹೆಚ್ಚು ಉಪಯುಕ್ತ ವೀಕ್ಷಣ ಕಾಲಮ್, I hit a wall with the BDC picker. If you haven’t see it, the BDC picker is similar to a people picker except that it works with columns of type "business data".

ನೀವು ತೋರಿಸಿರುವಂತೆ ಒಂದು ವ್ಯಾಪಾರ ದಶಮಾಂಶ ಲಂಬಸಾಲಿನ ತೆರೆದ ಪುಸ್ತಕ ಐಕಾನ್ ಮೇಲೆ ಕ್ಲಿಕ್ ಮಾಡುವುದರ ಮೂಲಕ ಪಿಕ್ಕರ್ ಪ್ರವೇಶಿಸಲು:

ಚಿತ್ರ

The above image shows a business data column called "Master Document Id". That column is connected, BDC ಮೂಲಕ, to a web service. The web service returns two columns of information: Document ID and Title. The business purpose here is to provide a "this document is based on" ಕ್ರಿಯೆ. Users select a "master" ದಸ್ತಾವೇಜು ಅವರು ಉಳಿಸಲು, ಉಲ್ಲೇಖ ಮಾಸ್ಟರ್ ನಿಂದ ಕ್ರಿಯೆಯನ್ನು ರಿಸೀವರ್ ಪ್ರತಿಗಳು ಮೆಟಾ ದಶಮಾಂಶ ಜಾಗ.

ಪೂರ್ವನಿಯೋಜಿತವಾಗಿ, the BDC picker looks like this when I search for a document whose ID = "38":

clip_image002

ಆ ಸಹಾಯಕವಾಗಿದೆಯೆ ಇಲ್ಲಿದೆ, but not good enough. People don’t think in terms of IDs, they think in terms of titles and/or other meta data. The picker allows you to search on other columns (ಉದಾ.. ಶೀರ್ಷಿಕೆ) ಆದರೆ ಅದು ಕಂಡು ಪ್ರಶಸ್ತಿಗಳನ್ನು ನಿಜವಾದ ಪಟ್ಟಿ ತೋರಿಸುವುದಿಲ್ಲ, ಕೇವಲ ತಮ್ಮ DocId ಇಲ್ಲಿ ತೋರಿದ್ದಾಳೆ:

clip_image002[1]

(ನಾನು ಯಾವುದೇ ಮಾನ್ಯ ಫಲಿತಾಂಶಗಳು ಮರಳಿಸುವ ಒಂದು ಹುಡುಕಾಟ ಆಯ್ಕೆ ಏಕೆಂದರೆ ಸ್ಕ್ರೀನ್ ಶಾಟ್ ಆದ್ದರಿಂದ ಮಹಾನ್ ಅಲ್ಲ, ಆದರೆ ನೀವು ನೋಡಬಹುದು ಎಂದು ಇದು ಕೆಲವು ಫಲಿತಾಂಶಗಳು ಕಂಡುಬಂದಿಲ್ಲ ಎಂದು, ಇದು ಕೇವಲ DocId ತಂದೆಯ ತೋರಿಸಿವೆ ಎಂದು, ಅಲ್ಲ ಶೀರ್ಷಿಕೆಗಳು).

I searched high and low for the answer to this and failed. ನನ್ನ ಸಹೋದ್ಯೋಗಿ, ಪೂಜ್ಯ ಜೋನಾಥನ್ ಬ್ರಾಡ್ಶಾ, had faced and solved this issue. When I reached out to him for help, ಅವರು ಸರಿಯಾದ ದಿಕ್ಕಿನಲ್ಲಿ ನನಗೆ ಸೂಚಿಸಿದರು.

Configure the picker to show multiple columns via the "ShowInPicker" ADF ಆಸ್ತಿಯನ್ನು:

<ಆಸ್ತಿ ಹೆಸರು="ShowInPicker" ಕೌಟುಂಬಿಕತೆ="System.Boolean">ನಿಜವಾದ</ಆಸ್ತಿ>

ಹೆಚ್ಚಿನ ವಿವರ:

  <!-- ಶೀರ್ಷಿಕೆ -->
  <TypeDescriptor TypeName="System.String" ಹೆಸರು="ಶೀರ್ಷಿಕೆ" >
    <LocalizedDisplayNames>
      <LocalizedDisplayName LCID="1033">ಶೀರ್ಷಿಕೆ</LocalizedDisplayName>
    </LocalizedDisplayNames>
    <ಗುಣಲಕ್ಷಣಗಳು>
      <ಆಸ್ತಿ ಹೆಸರು="DisplayByDefault" ಕೌಟುಂಬಿಕತೆ="System.Boolean">ನಿಜವಾದ</ಆಸ್ತಿ>
      <ಆಸ್ತಿ ಹೆಸರು="ShowInPicker" ಕೌಟುಂಬಿಕತೆ="System.Boolean">ನಿಜವಾದ</ಆಸ್ತಿ>
    </ಗುಣಲಕ್ಷಣಗಳು>
  </TypeDescriptor>

Setting this property does introduce a minor problem. As soon as you set it once, you need to set it for every column you want to show. ಪ್ರಕರಣದಲ್ಲಿ, BDC picker showed DocId by default. ಹೇಗಾದರೂ, once I added "ShowInPicker" ಶೀರ್ಷಿಕೆ, DocId no longer displayed. I solved that by explicitly setting the ShowInPicker property for Doc ID.

ಇಲ್ಲಿ ಪರಿಣಾಮ:

ಚಿತ್ರ

(I’ll explain the odd-looking "168 – CamlSchema.xsd" construction in a future blog post. ಸಂಕ್ಷಿಪ್ತವಾಗಿ, ಇದು ಸ್ವಲ್ಪ ಉತ್ತಮ ಬಳಕೆದಾರ ಅನುಭವವನ್ನು ಅನುಮತಿಸುತ್ತದೆ ಒಂದು ಪೋಣಿಸಿದ ಸ್ಟ್ರಿಂಗ್ ಇಲ್ಲಿದೆ).

ಸಹಜವಾಗಿ, ಈ ಬ್ಲಾಗ್ ಬರೆದಿರುವುದನ್ನು, I just did a search for "ShowInPicker" ಮತ್ತು ಹಲವಾರು ಹಿಟ್ ಕಂಡುಬಂದಿಲ್ಲ, ಈ ಒಂದು ಸೇರಿದಂತೆ: http://msdn2.microsoft.com/en-us/library/ms583986.aspx. It explains the meaning of that property along with some other good BDC stuff.

</ಕೊನೆಯಲ್ಲಿ>

ನನ್ನ ಬ್ಲಾಗ್ ಚಂದಾದಾರರಾಗಿ!

ನನ್ನ ಟ್ಯಾಗ್ಗಳು:

4 ಮೇಲೆ "ಆಲೋಚನೆಗಳುಪರಿಹಾರ: BDC ಆಯ್ದುಕೊಳ್ಳುವುದು ಫಲಿತಾಂಶಗಳು ಮಾತ್ರ ಕಾಲಮ್ ತೋರಿಸುತ್ತದೆ

  1. Jean-Marie

    Damn… This Article saved me a lot of time and my live :-))

    Great Post and your Blog added to my favorites. By the way, I found the article by googling "bdc could not find fields to insert all the identifier values" *lol* 😉

    ಅಭಿನಂದನೆಗಳು, JM

  2. juggler_10 1
    ನೀವು ಕಳೆದ ತಿಂಗಳಿನಿಂದ ನಾನು ಬರುವ ಮಾಡಿದ ಬಹುತೇಕ ಸಮಸ್ಯೆಗಳನ್ನು ಒಳಗೊಂಡಿದೆ ಬಂದಿದೆ, ಇದು ಒಂದೇ ಸ್ಥಳದಲ್ಲಿ ಅವುಗಳನ್ನು ನೋಡಲು ಮಹಾನ್ ಇಲ್ಲಿದೆ. My question is how you are searching by more than one column in the picker. ನಾನು ಒಂದಕ್ಕಿಂತ ಹೆಚ್ಚು ಕಾಲಮ್ ಮೂಲಕ ಹುಡುಕಲು BDC ಪಡೆಯುವಲ್ಲಿ ಯಾವುದೇ ಅದೃಷ್ಟ ಹೊಂದಿಲ್ಲ. ನಾನು ಅನೇಕ ಶೋಧಕಗಳು ರಚಿಸಿದ ಮತ್ತು ನನಗೆ ಡ್ರಾಪ್ಡೌನ್ ಎರಡನೇ ಆಯ್ಕೆಯನ್ನು ನೀಡುತ್ತದೆ ಆದರೆ ನಾನು ವಾಸ್ತವವಾಗಿ ಇದು ಪ್ರಶ್ನೆಯೊಂದಿಗೆ ಕೆಲಸ ಪಡೆಯಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ. ಮತ್ತು ದಿಕ್ಕಿನಲ್ಲಿ ಮಹಾನ್ ಎಂದು.
  3. ಪಾಲ್ ಗಾಲ್ವಿನ್
    I found that once I searched for "showinpicker".
    I did all kinds of searching for a solution to this and couldn’t find anything until Jonathan Bradshaw told me how he solved it. Lots of hits on "ShowInPicker" but virtually nothing on "bdc data column shows only one column in web page dialog".
    I didn’t know what question to "ask" and so couldn’t get a good answer.
    Everyone should certainly look at bdc meta man. Hand crafting ADF files is not a good use of a human’s time, that’s for sure.

ಒಂದು ಉತ್ತರಿಸಿ ಬಿಡಿ

ನಿಮ್ಮ ಈಮೇಲ್ ವಿಳಾಸ ರ ಆಗುವುದಿಲ್ಲ. ಅಗತ್ಯವಿರುವ ಜಾಗ ಗುರುತಿಸಲಾಗಿದೆ *