How to create global Contact list using OSX Server Contacts Service?
My goal is to create a global contact list for the use of my department at work. We currently have 5 MBP's and a Mac Mini Server running OSX Server.
I have read so many forum posts and so called "solutions" that my head is completly spinning... like a record... right round... you get the idea.
I talked with Apple Support, and they are going to walk me through the process of changing our network from "local" to a legitimate internet network. Enabling DNS and setting up open directory are some of the steps, and all in all i was impressed with the support i received. We did a complete walkthough of all the steps it would take to change everything, without actually making any changes (because I could not shut down the company server at the time I called).
All that being said, I have been reading that actually creating and sharing a global contact list (and enabling specific user access for read/write for said list) is not as simple as Apple is telling me. I have read so many horror stories about not being able to edit the list, having duplicate lists and entries, and many other problems. It seems that this "Contact Service" is not really what its billed as.
Im just looking for someone who has this already setup to shine some light on my questions/concerns. I have scoured the internet for information, and either i'm looking in the wrong place or I just happen to have the WORST possible combination of OS X versions, server versions and so on. I would expect a company who charges such high prices for its products to design them to ACTUALLY WORK how they are advertised to work!
Thanks in advance and a thousand kudos to anybody that can help!!!
-John
That sounds like one viable option...
The only problem is that I'm not sure how that would behave once the client MBP's are taken off site and connect to the network over a VPN or something of that sort.
I figure since we have purchased the Server App and it contains the Contacts Service, I should try and get it to work that way (through that specific service on the server app).
I would really prefer to not have to install yet another piece of software just to do something that should already work (or have the ability to be configured to work). None of us here are "Power Users", and we are all learning as we go and I got the role of the "IT Guy" when it comes to setting everything up. I'm dealing with lifetime Windows users here, and I feel there is a need to keep everything literally as easy as possible to use.
I will keep your solution in the front of my mind though, as it sounds like that may work. I am not exactly 100% familiar with the OSX Server or the Mac OS yet, and I'm not positive where you would add the users (I couldn't just sit down and do what you suggested, i unfortunately would need a step by step solution so I don't fuss up our entire system).
If you feel like giving a step by step, that would be awesome just for future reference or for anyone else having similar problems. If not, I don't blame you at all.
Thanks for your reply, and if I find a clear-cut solution I will post it here!
Thanks,
J_Semp
Similar Messages
-
How to create outllok Distribution list using java
Hi all,
I have a requirement to create a outlook Distrubution list by reading all the email ids from the SQL database.
and it has to be dynamic ie when ever a new User is registered it has to be updated.
is there any APis are exist to do so.if yes please reply to this post .
I searched the google but no help till now.so thought of posting a query here.
Thanks for all in advance.
hope to get reply from anyone of u ...hi steve
first of all sorry for the delay in replying
JOC is a commertial product and im completely looking for open source apis if any
i need to create the outllok DL (list of emails from datadabse) from the java code and sent a mail to that DL using java mail apis.
if u have any suggetions or thoughts are welcome. -
How to create a Watch List using JSF
I'd like to build a HTML UI which includes the toggling of items from a watch list. For example, stocks or system alerts which are important to the user. First of all are there any JSF example which demonstrate this type of application? What is the best approach for building such an interface so that individual lines can be added and removed from the watch list and the view mode can be toggled from watch list only items to all items?
I've looked at the data repeater component example and tried to make that work for this purpose but I'm struggling with some of the details and wondering if the approach taken is good or if there is a better approach. Basically what I have is a List of line items held in a managed bean class. This List is associated to my repeater's value tag. The managed bean also has a UIData element and a UISelectBoolean with the former associated to the repeater's binding and the latter associated to a invisible selectboolean_checkbox (rendered="false").
As the user presses an "Add" watchlist button with an action of toggleWatch the UISelectedBoolean.setSelected (onWatchList) is toggled between true and false for the current UIData.getRowIndex(). However, in tracing the code with a debugger, I see as the component tree is rendered that suddenly all UIData rows appear to have their onWatchList.isSelected() toggled to the new value.
Additionally, when I toggle between the view modes of show watchlist and show all my method to determine what gets rendered doesn't appear to have any effect. This is, when pressing the Show Watch button, the viewType is set to "watch" and then a setRendered method is called to setRendered() for each UIData row as follows. Again, this appears to have no effect.
public void setRendered()
for (int i=0; i< myList.size(); i++)
data.setRowIndex(i);
if ( viewType.equals("watch") && !onWatchList.isSelected() ) <-UISelectBoolean type
data.setRendered(false);
else if ( viewType.equals("raised") && !raised.isSelected() )
data.setRendered(false);
else
data.setRendered(true);
Am I making this too hard or am I just missing something minor???Upon further debugging it looks like the current issues may be caused by only one onWatchList (UISelectBoolean) existing instead of one for each row in the UIData group. So, what builds the association here? In the RepeaterBean example class the checked UISelectBoolean is simply declared as a instance variable but is never associated to the UIData. How are these glued together?
Of course, I'm still wondering if the is a much better / easier way to get the same results... -
How to create a crystal Report using C# and SQL Server
Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
but i got an error on the adding of server name and database portion.. thanks a lot in advanceHello,
Crystal Reports are supported on
http://scn.sap.com/community/crystal-reports.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
How to create a tree structure using list items(tlist)
HI every one,
As we know how to create a tree structure using Hierarchy item type.
We have a requirement to create The same tree like structure using List Item(Tlist)
I would be so appreciated If you send with an example
Thanks
RangaReddyHi all
Any one help me please
Actually our client requirement is creation of tree structure using list item,similar to what we used in oracle Application(FNDSCSGN) form.We did the tree structure using hierarchy tree using Htree and Ftree.It working excelently.For client requirement, we want to use list item.How PJC(Pluggable Java Components) is useful for using list item(Tlist).I can't understand how it is useful.
Do you have any example please help me.
Thanks
RangaReddy -
How to create a Custom List without the column "Title" ?
Maybe this one is easy as it sounds, I just want to know how to create a little list for my SharePoint application featuring 3 columns:
1 - User Name (this should be Person type - UNIQUE + Required)
2 - Report (Memo - Required)
3 - Status (Choice + Required)
The list will be used to allow the users to submit a weekly report and I don't want to include the title because there is no use to me, I know I can hide the column by customizing the list but this sounds very amateur even for a newbie like me (yeah... sounds
so cheap!), since I've been reading a lot about custom content types and I still didn't get the chance to use this properly I was wondering how I could put them to use and I guess the example here would be the best right?
I really spent some time trying but I always end getting the Title even when I try to use custom content types so I'm really giving up and asking for some help at this point.
Thanks a lot for the help!!!Yes, you can do that. If you need a different content type with your custom fields. Following are the steps : http://www.dotnetcurry.com/ShowArticle.aspx?ID=620
After creating your custom Content Type, Click on the 'Title' filed in your custom content type.
In the 'Column Settings' make it 'Hidden (Will not appear in forms)' and click ok.
Now add this content type to your list/library.
In the list/Library go to setting and 'Advance settings' and make the 'Allow management of Content Type?' as 'yes' and click ok.
Now make default content type not visible from 'Change new button order and default content type' link in the settings page of list/library, and your contet type as 'Default'.
Create a new view, remove the 'Title' field and make that view as 'dafault' view, you can delete the 'All Items' view also if required.
Now whenever user come to that list/Library they will not see the title column and also will not appear in the 'New Item'.
Note : The 'Title' field is mandatory in all the list/library and by default added to the 'All Item' view. So, by doing above steps you are creating a new content type where 'Title' is not mandatory and also not added in default view.
get2pallav
Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you. -
How to create a pulldown list in numbers
how to create a pulldown list in numbers
Here is it:
Open Applescript editor
Copy the entire script and paste it into Applescript Editor
Compile it
Read the instructions at the top of the script
Run the script, following the instructions.
You can save the script and it will be available in the Scripts menu (on the right side of the menu bar where Time Machine , Airport, and all those icons are).
Copy and paste all of what is below:
-- Script to populate a Numbers pop-up list.
-- Instructions:
-- GUI scripting must be on in System Preferences
-- Create a list of items. Must be a contiguous range of cells in a table.
-- Select the range of cells to use as items in the popup.
-- Run the script.
-- A dialog box will appear asking you to select which cells you want to turn into pop-ups
-- Select the cells then click OK on the dialog box
set tValues to my doThis(1) -- get values of the selection
if tValues is not "" then
activate
display dialog "Select the cells where you want to create the PopUp." & return & "After that, click on the 'OK' button."
my doThis(tValues) -- set the cell format of the new selection to "PopUp Menu" and set the values of the each menu item
tell application "Numbers" to display dialog "Done"
else
tell application "Numbers" to display dialog "You must select the cells in a table before running this script."
end if
on doThis(n)
tell application "Numbers"
set tTables to (tables of sheets of front document whose its selection range is not missing value)
repeat with t in tTables -- t is a list of tables of a sheet
if contents of t is not {} then -- this list is not empty, it's the selected sheet
set activeTable to (get item 1 of t)
if n = 1 then return value of cells of selection range of activeTable -- return values of the selection
set format of (cells of selection range of activeTable) to pop up menu -- set the format to pop up menu
return my setValuePopUp(n) -- set value of each menu item
end if
end repeat
end tell
return ""
end doThis
on setValuePopUp(L)
tell application "System Events"
tell process "Numbers"
set frontmost to true
delay 0.3
set inspectorWindow to missing value
set tWindows to windows whose subrole is "AXFloatingWindow"
repeat with i in tWindows
if exists radio group 1 of i then
set inspectorWindow to i
exit repeat
end if
end repeat
if inspectorWindow is missing value then
keystroke "i" using {option down, command down} -- Show Inspector
else
perform action "AXRaise" of inspectorWindow -- raise the Inspector window to the front
end if
delay 0.3
tell window 1
click radio button 4 of radio group 1 -- the "cell format" tab
delay 0.3
tell group 2 of group 1
set tTable to table 1 of scroll area 1
set tc to count rows of tTable
set lenL to (count L)
if tc < lenL then -- ** add menu items **
repeat until (count rows of tTable) = lenL
click button 1 -- button [+]
end repeat
keystroke return -- validate the default name of the last menu item
else if tc > lenL then -- ** remove menu items **
repeat while exists row (lenL + 1) of tTable
select row (lenL + 1) of tTable
click button 2 -- button [-]
end repeat
end if
tell tTable to repeat with i from 1 to lenL -- ** change value of each menu item **
set value of text field 1 of row i to item i of L
end repeat
end tell
end tell
end tell
end tell
end setValuePopUp -
Accessing the global Address List using Java Outlook Connector
Hi All,
I have written a code to access the Global Address List using (Jar) in Java outlook Connector
However i am able to retriev the name and email address of that employee only.
I want the other details like location(particularly).
Please help out.
Thanks,
Arijit.Ari_Dev wrote:
The scenario is i am an employee and i want to get information regarding other employees(name,location) which are stored in outlook through my java application(using JOC).Just a point of clarification, there is no actual java code in the Sun Outlook Connector. The use of Java with most of our products names is for marketing/branding purposes only.
Now there are employees who are not stored in my address book or local contacts.For them when i try to read the GAL i can get only their name and email address.So the 'cn:' (name) and 'mail:' (email address) attributes are being provided by the directory for a GAL search.
however if i try displaying their details using the JOC it comes with proper information through the outlook pop up but cannot read this data.As I said in my previous response, the data that the Sun Outlook Connector provides in the GAL view is determined by the user that the GAL binds to the directory server as, plus the restrictions that user has on the information the directory server will provide for GAL searches/queries.
This bind user is usually different from the 'super-user' bind user that UWC/Communications Express uses which is why you may see more information in UWC/CE compared to in the GAL in Outlook.
Therefore you need to work with the Directory Server administrator to increase the information that the Sun Outlook Connector user is able to see.
Regards,
Shane. -
How to create a unique key using two or more attributes?
how to create a unique key using two or more attributes ?
The following example illustrate how to create a unique key using two or more attributes/fields
Scenario: Implementing Unique Key on ManagerID & Location ID in DepartmentEO(Department Table)
Step#1: Open the Desired Entity Object “DepartmentEO”. Go to Overview tab & Click “General” Finger tab.
Step#2: Expand “Alternate Keys” section & click “+”.
Step#3: In the Pop-up wizard, Enter a name for alternate Key “Unique_Manager_X_Location”.
Step#4: Select the desired attributes/fields from available list & Shuffle to right side.
Step#5: Now go to “Business Rules” finger tab.
Step#6: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
Step#7: In the Pop-up, Select “Rule Type” as Unique Key
Step#8: In the “Rule Definition” tab select the key “Unique_Manager_X_Location”created.
Step#9: Now go to “Failure Handling” tab, and click the Magnifier Icon .
Step#10: If the key is not already created then in the “Select Text Resource” Popup, Using the functional design document, Enter display value, Key and Description. And click “Save & Select” Button.
Step#11: Now Click “OK”. -
How to create new XML file using retreived XML content by using SAX API?
hi all,
* How to create new XML file using retreived XML content by using SAX ?
* I have tried my level best, but output is coming invalid format, my code is follows,
XMLFileParser.java class :-
import java.io.StringReader;
import java.io.StringWriter;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMResult;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.sax.SAXTransformerFactory;
import javax.xml.transform.sax.TransformerHandler;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.XMLFilterImpl;
public class PdfParser extends XMLFilterImpl {
private TransformerHandler handler;
Document meta_data;
private StringWriter meta_data_text = new StringWriter();
public void startDocument() throws SAXException {
void startValidation() throws SAXException {
StreamResult streamResult = new StreamResult(meta_data_text);
SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
try
handler = factory.newTransformerHandler();
Transformer transformer = handler.getTransformer();
transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
handler.setResult(streamResult);
handler.startDocument();
catch (TransformerConfigurationException tce)
System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
super.startDocument();
public void startElement(String namespaceURI, String localName,
String qualifiedName, Attributes atts) throws SAXException {
handler.startElement(namespaceURI, localName, qualifiedName, atts);
super.startElement(namespaceURI, localName, qualifiedName, atts);
public void characters(char[] text, int start, int length)
throws SAXException {
handler.characters(text, start, length);
super.characters(text, start, length);
public void endElement(String namespaceURI, String localName,
String qualifiedName) throws SAXException {
super.endElement("", localName, qualifiedName);
handler.endElement("", localName, qualifiedName);
public void endDocument() throws SAXException {
void endValidation() throws SAXException {
handler.endDocument();
try {
TransformerFactory transfactory = TransformerFactory.newInstance();
Transformer trans = transfactory.newTransformer();
SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
DOMResult dom_result = new DOMResult();
trans.transform(sax_source, dom_result);
meta_data = (Document) dom_result.getNode();
System.out.println(meta_data_text);
catch (TransformerConfigurationException tce) {
System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
catch (TransformerException te) {
System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
} CreateXMLFile.java class :-
Sax.startDocument();
Sax.startValidation();
Sax.startElement("", "pdf", "pdf", new AttributesImpl());
Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());
String xmp_str = new String(meta_data.getByteArray(),"UTF8");
char[] xmp_arr = xmp_str.toCharArray();
Sax.characters(xmp_arr, 0, xmp_arr.length);
Sax.endElement("", "pdf", "pdf");
Sax.endValidation();
Sax.endDocument();
Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
* In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
is not an XML type text, it just an Normal text Why that ?
* Please help me what is the problem in my code?
Cheers,
JavaImranSax.startDocument();
Sax.startValidation();
Sax.startElement("", "pdf", "pdf", new AttributesImpl());
Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());
String xmp_str = new String(meta_data.getByteArray(),"UTF8");
char[] xmp_arr = xmp_str.toCharArray();
Sax.characters(xmp_arr, 0, xmp_arr.length);
</code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
<code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
Sax.endValidation();
Sax.endDocument();
* I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
* I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
Thanks,
JavaImran{code} -
How to create the sales order using BAPI's ....?
Hi Guru's,
could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically i don't have basic knowledge on this....please provide required inputs ....:)
thanks in advance
Srinivas......Hi Guru's thanks for your inouts and your valuble time...
please find the program logic below...
*& Report ZAREPAS30
REPORT zarepas30.
DATA : gs_vbeln TYPE vbak-vbeln,
gs_order_header_in TYPE bapisdhd1,
gs_order_header_inx TYPE bapisdhd1x,
gt_order_items_in TYPE STANDARD TABLE OF bapisditm,
gwa_itab1 TYPE bapisditm,
gt_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
gwa_itab2 TYPE bapisditmx,
gt_order_partners TYPE STANDARD TABLE OF bapiparnr,
gwa_itab3 TYPE bapiparnr,
gt_return TYPE STANDARD TABLE OF bapiret2,
gwa_itab4 TYPE bapiret2.
Sales document type
PARAMETERS: p_auart TYPE auart OBLIGATORY.
Sales organization
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
Distribution channel
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
Division.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
Requested Delivery Date
PARAMETERS: p_edatu TYPE edatu OBLIGATORY.
Sold-to
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
Ship-to
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
Material
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
Quantity.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
Plant
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
gs_order_header_in-doc_type = p_auart.
gs_order_header_inx-doc_type = 'X'.
Sales organization
gs_order_header_in-sales_org = p_vkorg.
gs_order_header_inx-sales_org = 'X'.
Distribution channel
gs_order_header_in-distr_chan = p_vtweg.
gs_order_header_inx-distr_chan = 'X'.
Division
gs_order_header_in-division = p_spart.
gs_order_header_inx-division = 'X'.
Reguested Delivery Date
gs_order_header_in-req_date_h = p_edatu.
gs_order_header_inx-req_date_h = 'X'.
gs_order_header_inx-updateflag = 'I'.
Partner data
Sold to
gwa_itab3-partn_role = 'AG'.
gwa_itab3-partn_numb = p_sold.
APPEND gwa_itab3 TO gt_order_partners .
ship to
gwa_itab3-partn_role = 'WE'.
gwa_itab3-partn_numb = p_ship.
APPEND gwa_itab3 TO gt_order_partners .
ITEM DATA
gwa_itab2-updateflag = 'I'.
Line item number.
gwa_itab1-itm_number = '000010'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
Line item number.
gwa_itab1-itm_number = '000020'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = gs_order_header_in
ORDER_HEADER_INX = gs_order_header_inx
IMPORTING
SALESDOCUMENT = gs_vbeln
tables
RETURN = gt_return
ORDER_ITEMS_IN = gt_order_items_in
ORDER_ITEMS_INX = gt_order_items_inx
order_partners = gt_order_partners.
Check the return table.
LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error occured while creating sales order '.
ELSE.
Commit the work.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', gs_vbeln, ' created'.
ENDIF. -
How to create custom report plugin using child region report metadata
Hi,
I want to ask for help on how to create custom report plugin using child region report metadata. My idea is to create a child region, a classic report and set the condition to never.
Then i will query the child report metadata from apex view and use it to create a custom report like using jquery jq-grid. Any idea how i can create a process that will use the child report
metadata? I dont know how i can create a process just like how apex work, how apex render report, coz i want it to be control using the standard apex report attribute. This plugin will
render according to the child report attribute.
Is there anybody here had ever done this?Hi Nicolette,
Thanks for the reply. I know where to find the metadata, just asking for idea on how the rendering process will be.
Start from determining column heading, column order until finish rendering the report. The same way how apex
render the classic report.
Previously this imy my rendering process:
FUNCTION GETCOLUMN(P_REGION IN APEX_PLUGIN.T_REGION,
P_PLUGIN IN APEX_PLUGIN.T_PLUGIN,
P_VALUE IN VARCHAR2) RETURN SYS.DBMS_SQL.DESC_TAB2 IS
VSQLHANDLER APEX_PLUGIN_UTIL.T_SQL_HANDLER;
VCOLCOUNT NUMBER;
VCOLNAMES VARCHAR2(2000);
VAJAXIDENTIFIER VARCHAR2(100);
VPAGESIZE TYPEATTR := P_REGION.ATTRIBUTE_04;
VJSCODE VARCHAR2(32767);
BEGIN
VSQLHANDLER := APEX_PLUGIN_UTIL.GET_SQL_HANDLER(P_SQL_STATEMENT => 'select * from s_emp',
P_MIN_COLUMNS => 1,
P_MAX_COLUMNS => 999,
P_COMPONENT_NAME => P_REGION.ID);
VCOLCOUNT := VSQLHANDLER.COLUMN_LIST.COUNT();
FOR I IN 1 .. VCOLCOUNT LOOP
VCOLNAMES := VCOLNAMES || '{name: "' ||
UPPER(VSQLHANDLER.COLUMN_LIST(I).COL_NAME) || '",';
END LOOP;
APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
RETURN VSQLHANDLER.COLUMN_LIST;
EXCEPTION
WHEN OTHERS THEN
APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
RAISE;
END GETCOLUMN;
So this is how i get the header for my report plugin. The same method is use to get the value / data for each column. This process is work. So now
i want to extend my plugin so that i will use all attributes from the child report to render my plugin. So the column header, column order, all will depend
on the child report. And the column display condition is set, it will also check the condition before render the column. Sounds like i want to reinvent
the normal apex rendering process but this is what i want to achieve.
I need help to find the correct logic for my render process. Don't want too much for starting, just want to render the plugin correctly, same with child report,
same columns alias, column ordering and column conditional display.
Thanks,
akulala -
How to create a single report using 5 difftent reports
Hi Experts
how to create a single report using 5 repors in it.
Example
I have to create a Survey history report using
Reports like Surevy 1
Surevy 2
Surevy 3
Surevy 4
Surevy 5
Please suggest me.
SantoshUse Analysis Process Designer (RSANWB) to feed each of the survey BEX reports to one DSO. Assuming each of the surveys has something in common to compare. Could also be used as a snapshot storage for the surveys in case history needs to be compared/archived.
Build the Direct update DSO with the survey objects. Add needed time characteristics and/or version control objects to the key.
Data sources will be the 5 surveys.
Add formula to hardcode version/time for history.
Data target is the direct update DSO.
http://help.sap.com/saphelp_nw2004s/helpdata/EN/49/7e960481916448b20134d471d36a6b/frameset.htm
-SM -
How to create a table to use in webdynpro ABAP
Hi Guys,
Can anybody let me know how to create a table to use in webdynpro ABAP. I am new to ABAP. It would appreciable if i get useful answer. Thanks In Advance
Regards
RaviHi! You can use transaction code SE11. Please refer to http://help.sap.com/saphelp_nw70/helpdata/en/6c/f2934259a5c66ae10000000a155106/frameset.htm
Please note that table name should start with 'Y' or 'Z' - by SAP naming conventions object names starting with 'Y' and 'Z' are reserved for customer application development.
Please reward points if helpful -
How to create a packet by using java?
Hi, i am currently working on a research and i have some problems here.
1) how to create a packet by using java programming ?
2) How can i set the packet's information (e.g: packet's length, size of its header, etc) by using java?
I am currently in a midst of this now and i hope that someone is willing to correspond to my questions and help me out of it.
Thank you!I wan to create a customize packet where the user can
define the header size, the packet's length etc. in
the program......Then you get to write it to the connection yourself. Look at the OutputStream classes to see how to write low level output to a connection.
Maybe you are looking for
-
How do I set 4 weekly events in calendar?
I want to add a 4 weekly event in calendar on my iPhone 4S. The only option close is either two weekly or monthly both of which are no good to me.
-
How do you delete multiple email messages without checking off each one at a time?
Looking for help to figure out how to delete emails previous to certain dates or in large quantity without clicking on each one. Already held down control button and tagged multiple emails...yet want to delete previous emails in large quantity. Than
-
Flash Player 9 for Linux Seg Faults every time a window/tab running Flash 9 closes. This behavior is consistent, regular and reproducible. This has been a long standing problem after version 7. Version 8 (which was development only) and now version 9
-
Item category control the release strategy?
Hi, Currently the purchase of a material needs to be released. My issue is that as soon as I change the item category in the sales order, the material does not need to be released. How does item category control the release strategy? Sincerely, Ketan
-
XServe Gspeed q sharing problems
I am having some trouble with a xserve sunning 10.6.8. We have fitted a G Speed q to the server set as a raid 5 and I cant get the thing to share properly. Either it shows everything to everyone based on the POSIX settings or it does not show anythin