Grouping with A formula issue

I am grouping on a date that was calculated using the following formula :
local stringvar d:= {TAGDTL.USER_DEF_TEXT_1}; //or database field
numbervar y:= tonumber ( '20' & d[5 to 6]);
numbervar m:= tonumber ( d[1 to 2] );
numbervar dd:= tonumber ( d[3to 4] );
date( y, m, dd)
The date displays fine, however when I group on it, it appears that it ignores the date completely.
The data in the detail shows up
10/14/2008
10/15/2008
10/16/2008 etc
however the group shows up with a completly different date.
Group = 10/12/2008
detail = 10/14/2008
detail = 10/15/2008 etc....
any ideas? Suggestions? help?
Thanks,
Jim

Sorry guys, still get the same results...... I have tried the formula
Whilereadingrecords;
numbervar y:= tonumber("20" & Mid ({TAGDTL.USER_DEF_TEXT_1},5,2)); numbervar m:= tonumber(Mid ({TAGDTL.USER_DEF_TEXT_1},1,2)); numbervar dd:= tonumber(Mid ({TAGDTL.USER_DEF_TEXT_1},3,2));
cdate( y, m, dd);
and still get the same results...
this is all done in a formula correct?
Edited by: James Fulton on Oct 20, 2008 7:06 PM

Similar Messages

  • Group with formula schould show concrete figures

    I would like to create a group with formula, where I do not have database fields, but fixed figures, namely from 1 to 10. The result schlud be 10 rows.
    How to do that?

    If this is still an issue please re-post your question or purchase a support case on line and have a dedicated support engineer work with you directly.

  • How to setup Business Group with Global Legislation?

    Hi All,
    We are exploring possibility of creating International Business Group with no Legislation Code for our client. The client has operations in multiple geographies.
    I found following document in Metalink
    How an International Business Group be created with no Legislation Code? [Doc ID 851711.1] It mentions "Global legislation must be installed in order to set up a Global Business Group. The business group is created just like any other, but with Global legislation selected. You will need to use Global responsibilities to access it."
    When we tried to create a business group with Legislation Code as 'Global" we did not find any such Legislation Code in dropdown of *Business Group Info classification.
    Has anybody implemented Global Legislation before? Any information on Setup Steps, Challenges faced, bugs and issues faced with other modules especially OTL would be appreciated.
    Thanks in Advance,
    Amit
    Edited by: user10450466 on Jan 22, 2010 12:23 AM

    I wasn't aware there's any such thing as 'Global Legislation' in HRMS and I think the Metalink Note you mention is misleading. There are multiple concepts here being mixed up.
    hrglobal and Data Installer
    Oracle deliver legislative seed data through hrglobal and Data Installer. When a DBA runs this they pick the legislations they wish to install. That includes legislations such as US, GB and all legislations where Oracle HRMS deliver seed data (Fast Formulas, balances, etc). One of the options here is 'Global', which ensures that common seed data used across multiple legislations is installed. This process does not create new legislations - it just creates the seed data used by those legislations. 'Global' is not a legislation - it just means that the relevant seed data (Fast Formula, balances, etc) is typically delivered without the legislation_code column being populated.
    Business Groups and Legislations
    A Business Group is intrinsically tied to a Legislation Code - they have a one-to-one relationship. When you define a Business Group you have to pick a Legislation and that list of Legislations comes from fnd_territories_vl. The list in fnd_territories_vl has nothing to do with hrglobal or Data Installer. There is no 'global' territory.
    International HR & Payroll
    If you are implementing HRMS in a country where Oracle HRMS do not deliver any specific legislative seed data or functionality (ie, the legislation isn't listed in Data Installer) you have the option of using International HR & Payroll. This allows you to install generic seed data into the legislation of your choice, which is again a list from fnd_territories_vl. Again, there's no concept of 'global' legislation. Information on that is available here:
    International HR and Payroll [ID 261452.1]
    International Implementations
    Customers, like yours, who are rolling out Oracle HRMS to multiple countries have a big choice to make: single or multi Business Group. If you opt for one Business Group you create employees in multiple countries all within the same Business Group. That Business Group is tied to just one of those country's legislation codes - which you go for is up to you but that's generally the Legislation Code of the International HQ. The problem with this approach is that you can't leverage the legislative-specific functionality for each of the other countries.
    If you opt for multi-Business Group you typically define one Business Group for each country so that you leverage the legislative-specific functionality for each country. This is generally more popular but doesn't suit everyone: you can have problems with employees transferring from one country to another, etc.
    Global Structures
    Oracle HRMS has forced you to tie a Business Group to a legislation code for many years. As mentioned above, this causes a number of problems. To mitigate those, Oracle have delivered a number of enhancements that help you model global businesses:
    1. Global Organization Hierarchies
    2. Global Security Profiles
    3. Global Overseas Deployment functionality (nickname GOD/GOLD)
    4. Cross Business Group profile option
    5. etc
    I hope that helps.

  • How can I update an already saved "bookmark all tabs" group with a current group of tabs? Or add only the changes??

    Example of problem:
    I have already saved a group of tabs using the "bookmark all tabs" feature.
    I open that group of tabs in a new browser window.
    Then I modify that group of tabs that I have open, adding new ones, removing old ones.
    How can I replace the existing tab group with the new tabs?
    Is there an option to just add the new ones that I have opened and keep all the others even if I have removed some of the old ones from the currently opened group?
    ...another issue: can I share bookmarks online? What are the options for this?

    You can't do that.<br />
    Each time you use "Bookmark All Tabs" a new folder is created, even if you give the folder the same name, so you will have to do any merging yourself in the Bookmarks Manager or just create a new group and discard (delete) the previous group.
    If you want to share bookmarks online then you need to use a web based service that offers such a feature like Delicious.
    *http://en.wikipedia.org/wiki/Social_bookmarking

  • How to create a group with multiple data fields

    Post Author: RichS
    CA Forum: Formula
    Using CR XI.  Using CSV input from ODBC text driver.  No problems here.
    There are 3 fields that I want the same group by action.  Is this possible?) 
    If any one of these 3 fields change I want some header information and column fieldnames to display.  The header information I only want displayed on the first page (on the change) and the column fieldnames to display on every page.  I have played around with things like "InRepeatedGroupHeader" and "report group header on each page".  I am not getting all the results that I am looking for though.
    I want report to look like:
    Page header stuff  (to display on every page)  This data consists of some fields that will have static data and will display on every page.  And it consists of 3 non-static fields that I want to group on. 
    Group header stuff that I only want displayed on the first page on a change from one of the 3 fields mentioned above.
    Column headings that I want displayed on every page.
    Details data
    Group footer stuff (details not important for this)
    I get the expected output (column headings displayed on every page, and group header stuff display on the first page on each group change) with one group field.  But I want the group change to happen for all 3 fields.
    It seems simple but I can't find a way to create a "group" so if "field1 or field2 or field3" change, I get the same "group by" action.  I just need to know how to get the expected action.
    I expect that I might have some terms mixed up and/or some important information that would aide you in helping me.  If that is the case please re-post and I will add any missing or mis-stated information.
    Thanks,

    Post Author: V361
    CA Forum: Formula
    I am slightly confused, but perhaps you can create a formula
    Then group on the formula.  If this is not what you want, could you post some sample data, with the desired results.

  • AP groups with same vlans , same ssid but different subnet.

    Hi Members,
    I have a Cisco Flex 7500 in my datacenter and I need to connect 100 sites , each site with 2-3 APs , each side has its own network and is independent of other sites , the site only need to comunity locally and do not need to access any centralized applications.
    I am trying to achieve this by Creating 100  different AP groups and assiging 2-3 AP in each groups for each branch, I will achieve WAN failover resiliency by creating flexconnect groug , the issue I am facing are as below .
    1.Since all the sites has same setup , the AP and clients on all sites are in vlan 2 , so when I try to create 2 or more AP group with same vlan, it restricts me of doing so , I cannot create diffrent AP groups mapped to same Vlan .
    2.If I keep the APs and Clients in the same subnet , I dont think it should be a problem , but I need your second opinion.
    to give you an even better picture , look at the topology enclosed , and my question is if both STAFF and STUDENT APs are in same vlan but in 2 different broadcast domain , how would I create the AP groups.
    Thank you

    Thanks for the reply Jenn , here is my situation.
    I have 2 sites lets day , site A in virginia ,  site B in Maryland.
    SiteA - 10.1.1.0/24 - vlan 2
               10.1.2.0/24 - vlan 3
               10.1.3.0/30 - WAN to central site where controller sits.
    SiteB - 10.2.1.0/24 - vlan 2
               10.2.2.0/24 - vlan 3
               10.2.3.0/30 - WAN to central site where controller sits.
    both the sites will have a single ssid "XYZ" and will switch locally only.
    howin my understanding the way I will deploy this is as below
    1.I will create WLAN with ssid "XYZ".
    2.I will create 2 AP groups lets say "Site-A" and "Site-B"
    3.I will map the APs in site A to AP group "Site-A" and APs in Site B to "Site-B"
    4.I will create 2 dynamic interfaces one for each AP group , now this is where I am facing problem , when I am creating dynamin interfaces , I need to specify the subnet and vlans when creating dynamic interfaces , since the vlans used is same on both sites , its not letting me create 2 interfaces with same vlan id.
    in my understanding HREAP is only majorly used for WAN failover and local authentication so I am not concerned about that right not , my prime work is to udnerstand the AP group and working.
    if you still need print shot let me know I will have to go at site.
    also validate if my thinking is right on the 4 steps I have mentioned above , I am new to wireless and whatever I have learned I have learned in last 10 days .
    Appreciate your help.
    Thank you

  • Creating Target group with Bi Query

    Hi,
    I am trying to create Target group with BI query, for that I created one query on real time info cube  with 0BPARTNER, 0BP_GUID  and selected all navigational attributes.  In the query info object properties u2013 Advance setting I selecting u201C Values from Master Data Tableu201D  & Access Type u201C Master Datau201D , In query Property u2013 selected u201C Allow External Access to Queryu201D
    In CRM while creating Data source I can see the In objects selected in   the query u2013 selected Business partner info object as 0BP_GUID ,In the attribute list I just selected one item Industry code against the above data source, while running the Segment Builder when I selected the industry code it gives me 0 business partner where as I am having 20 BP with that Industry code.
    I appreciate your help ASAP.
    Regards,
    Rajiv Jain

    Hi Rajiv
    I have the same issue with my BI Query. Hope you have resolved by now, if you have please do let me know.
    What we have done is, created a BI Query and used this query in in CRM datasource, then created some filters where i can see the objects in the query while creating filters in Attributes List. But when we use these filters to create Target group, its not resulting any results in the query, i mean not brining any values on segmentation area. This issue is only in Production as we have already tested in Test and passed without any problems. But in Production we have this issue, i m not sure why this is happening, i spoke to BW team regarding this and they are not sure eitherl. If you know could you please let me know
    Thank you in advance
    Regards
    shankar

  • Running Total Issue or Possibly Formula Issue in Crystal Reports 9

    Post Author: Jeffs23
    CA Forum: Formula
    My issue involves two formula's - @TotalTime and @Converted Time and a Running Total (RTotal0).
    @TotalTime{Data.ApptTime}/60@Converted Timenumbervar x := {#RTotal0};totext(truncate(x),0,"")" Hrs "totext(remainder(x,truncate(x))*60,0,"") + " Mins"Running Total (RTotal0)
    Field to Summarize - @TotalTime
    Type of Summary - sum
    Under Evaluate Section:
    "Use a Formula":
    onfirstrecord or
    {Data.ResourceStart} <> previous({Data.ResourceStart}) or
    {Data.Resource} <> previous({Data.Resource})
    ) and
    minimum({Data.ApptKind},{Data.ResourceStart}) = 1 AND
    maximum({Data.Column},{Data.ResourceStart}) >= '1'
    Reset on change of field {Data.Resource}
    A little background:My report deals with a Doctors schedule. In the doctors schedule, a appointment is booked and is by default placed into Column 1. It always defaults to Column 1. If the provider elects to double book their time and schedule another patient at the exact same time, the second appointment hits column 2. It expands in essence. It is possible to have up to 4 appointments in one time slot. This is why we wait forever at the Doctors office - appointments get overbooked because patients cancel or no show frequently and the provider would rather have the patients wait then risk no appointment at all. My Client wants the "TOTAL TIME" a provider was "scheduled" to see patients, not the time they actually saw the patients. So if the Provider was scheduled to see patients from 8 am to noon and had patients doublebooked for every time slot, I only want to report the overall time he saw patients regardless of the doublebooking, triplebooking or quadruplebooking. So the total time for my example should be 4 hours not 8 hours. The good news is this is painfully close to being correct! What is currently happening, is if the schedule contains more than 1 facility the time calculates wrong.  I think my issue may be in the running Total but not 100% sure. I need it to calculate time on each facility - {Data.Facility}.

    Post Author: Jeffs23
    CA Forum: Formula
    I had some minor issues with my formulas and Running Total so I modified them alittle:
    @TotalTime
    If {Data.ApptTime} = 0 then    0else    {Data.ApptTime}
    @Converted Time
    If {#RTotal0} = 0 then    "--"else    ToText(Truncate({#RTotal0}/60),0,"") + " Hour(s), " + ToText(Remainder({#RTotal0},60),0,"") + " Min(s)"
    My running total stayed the same.......
    Field to Summarize - @TotalTime Type of Summary - sum Under Evaluate Section: "Use a Formula":(onfirstrecord or{Data.ResourceStart} <> previous({Data.ResourceStart}) or{Data.Resource} <> previous({Data.Resource}) ) andminimum({Data.ApptKind},{Data.ResourceStart}) = 1 AND maximum({Data.Column},{Data.ResourceStart}) >= '1' Reset on change of field {Data.Resource}
    Some fake sample data:
    Resource = Francis, William MD
    Facility 1: River Oaks Main Clinic
    Facility 2: Western Medical Hospital
    Date of Service = 10/25/2007
    From 7:15 am to 11:45 am, Patients were treated at Facility 1: River Oaks Main Clinic *** (total time = 4 hours 30 min)
    From 12:15 pm to 1:00 pm, Patients were treated at Facility 2: Western Medical Hospital *** (total time = 45 min)
    From 1:00 pm to 3:15 pm, Patients were treated at Facility 1: River Oaks Main Clinic *** (total time = 2 Hours 15 min)
    The report should tell me Total time at River Oaks Main Clinic = 6 Hours 45 min and 45 min for Western Medical Hospital. What it currently is doing, is reporting the 6 Hours 45 min on the River Oaks Main Clinic and 7 Hours 30 min on the Western Medical Hospital. The time for this facility should be 45 minutes, yet its taking the full provider time and throwing it into this second facility. I am assuming its because the Running total tells it "Reset on change of field {Data.Resource}". Somehow, I need it to evaluate on both the Resource and the Facility. Any suggestions?

  • For those with pixel rendering issues and slowness issues

    For anyone who doesnt know these little details when designing in Catalyst, I thought I would share and hopefully ease some peoples frustrations. Lets kick off with pixel issues.
    You have either vector, raster, or components that are either: not aligning with everything else around it, even though it has the same X/Y value, the rounded corners of a rectangle vector object are distorted, or anything else you have experienced with pixel distortion or pixels just not lining up properly. Here is the issue. When you drag and drop an object from the library, wireframe components, or draw a new shape, it can have a decimal level pixel value. It does not say this in the property inspector though. So you may have a rectangle at a listed X/Y of 10,15 but it could actually be 10.3, 14.9. To fix this you have to type in a new value of at least 1 number higher or lower. Deleting the value and typing the same number in doesnt do anything. Neither does moving it with the arrow keys in hopes of it moving it to a whole pixel value. The arrow keys move by 1 pixel (or 10 if holding down shift). This should take care of most of your problems.
    Now you may still have problems with the corners of rounded rectangles if you converted it to an Optimized Vector Graphics. For you Flash Pro users, from what I can tell, using "Optimize Vector Graphics" is basically the same as (in Flash) converting a vector shape into a MovieClip and in the property inspector, checking the "Cache as Bitmap" box. That option has Flash create a bitmap version of the vector shape so that it will not be re-drawn every frame, which is what the Flash player does with vector objects. So because it is converting your vector into raster, it kinda has issues with rounded corners when you have a stroke on the shape and pretty much only if you have a stroke. If you take the stroke off, and use Optimize Vector Graphics, you shouldn't have that problem anymore. But what if you needed that stroke? Simple, duplicate that shape, change its fill color to what you want the "stroke" color to be, increase its size by 2 pixels on the width and height for every number of thickness that you wanted with the stroke, and then set the X/Y of the "stroke" rectangle to a pixels less for whatever the "thickness" of your stroke is.
    Example:
    Rectangle - width:20, height:10, desired stroke thickness:2, X:10, Y:10
    Rectangle Stroke - width: 24, height:14, X:8, Y:8
    Rectangle - width:100, height:30, desired stroke thickness:1, X:15, Y:27
    Rectangle Stroke - width:102, height:32, X:14, Y:26
    It wont look perfect but its pretty close if you do this and then draw a rectangle beside it with a real stroke. And if you still want to use Optimize Vector Graphics on it, just group the two rectangles together and then use Optimize on the group and no more distorted corners. This also applies to vector shapes in Flash Pro.
    Lastly to talk about the slowness of Catalyst. You may or may not have read the posts from Adobe employees, but I can tell you that having fewer states helps with the responsiveness of it, but so does using the Optimize Vector Graphics as much as possible. I am working in a large scale project, and just from me converting all my vector background shapes, which was around 13 used across 6 main states, it helped significantly with Catalyst being more responsive for me.
    Hoped this long post helped some people with any similar issues you might be having.

    I noticed with my Charge phone that when I get a call the FIRST ring is highly muted (quite soft) and then all rings after that are full volume. 
    I wish that even the first ring was load (full volume) but I accept the fact that that is how GB 2.3.6 works.  Anyone know how to change this? 
    Ya can't win 'em all.
    JerryF

  • Grouping with 2 date in sql server

    totle_count
             dt
             name   
    program_id
    1
      1/3/2015
      Tea
    14
    1
      1/5/2015
      Tea
    14
    1
      1/6/2015
      Lunch
    13
    17
    1/6/2015
      Tea
    14
    2
    1/9/2015
      Breakfast
    1008
    39
    1/10/2015
      Breakfast
    1008
    4
    1/19/2015
      Breakfast
    1008
    1
    1/19/2015
      Dinner
    1009
    3
    1/21/2015
       Tea
    14
    totle_count
              dt
    name
    program_id
    1
       1/6/2015 and 1/8/2015
      Lunch
    13
    2
       1/3/2015 and 1/5/2015
      Tea
    14
    17
       1/6/2015 and 1/9/2015
      Tea
    14
    3
       1/21/2015 and 1/23/2015
      Tea
    14
    41  
    1/9/2015 and 1/11/2015
     Breakfast
    1008
    4
       1/18/2015 and 1/20/2015
     Breakfast
    1008
    1
       1/18/2015 and1/20/2015
    Dinner
    1009
    Here is 2 table, 1st is my row table, and I want to group with 2 date.
    Here is 3 days difference. and sum of value is coming.
    2nt table is my expectation table.
    Plz help me for this problem.
    Thanks
    Samir

    I am doing 3 days grouping here
    "dt" is name of date column
    if "dt" column has '1/19/2015' then next in group it will come in "1/18/2015 and1/20/2015"
    any date of 18 or 19 0r 20 it will come in "1/18/2015 and1/20/2015"
    and counting will add between 3 date
    Sorry your posted output is not as per above rule
    How did row for  1/6/2015 and 1/9/2015 got included then. If you group by 3 days you wont get
    this row as 6-9 is 4 days not 3 days
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • IBNS with ISE, authorization issue

    I'm running the 90-day ISE demo and trying to configure IBNS with it. I love the feel of the interface and almost instantly had a set of policies up and working fine. My issue is this:
    I have an authorization service for machines so before a user logs in, their machine will authenticate to a list of machines in AD. This will give them guest/limited access.
    I have a second authorization service for users. Once the user authenticates to AD, they should get access based on user group or other AD attributes. However once the user authenticates to AD, the previous authorization service that they had before is still enforced. The user is stuck with machine authorization. I figured that it was because the setting was "First Matched Rule Applies" so I switched to Multiple and now after the login, it still matches machine authorization but it now also matches on Default which will deny access...how can something match both authorized and default?
    Because of that I have to make the machine authorization setting open to everything. Can anyone provide any guidance on this issue as config examples and such aren't out yet for ISE and the admin guide wasn't very helpful with this particular issue.
    Thanks
    Xavier

    The problem is that when the user is authorised after the machine is authorised, he still gets Machine Access (number 6). The user is supposed to get Engineer Access based on the IBNS User Authorisation Rule in number 1.
    Comparing 5 and 6, the username for 5 is host/machineName/domain which should be granted Machine Access based on how AD is set up (with a list of hostnames of Domain Computers). In number 6 the username is domain/username which indicates it's a domain user and so he should get engineer access. For some reason, ISE doesn't want to match with the new authorisation rule and just keeps the one that I had before.

  • "404: No group with that name (wikigroupname) hosted on this server"

    I am running 10.6.8 as our wiki server. After rebooting the server, one of the wiki group seems to be not accessible. When try to access the web page it gives error "404: No group with that name (wikigroupname) hosted on this server", though it still exists in /Library/Collaboration/Groups/wikigroupname
    Do you know how to make it viewable again? I tried to create a new wiki "test" and then rsync /Library/Collaboration/Groups/wikigroupname to /Library/Collaboration/Groups/test, yet still can not see the old wiki group.
    Thank you in advance for you help.

    In all due respect Antonio, I believe that Francesc43 is fighting a flakey system. The 404 No Group is a problem that is confirmed by Apple according to others and very prevalent. At this point the only remediation appears to be a complete server rebuild and to avoid going beyond the "default" configuration for web domains.
    I have personally used only the 'any domain' default config, had the server working fairly well. I then added a FQDN and the server started giving 404s for all groups which previously worked and have data in the wiki. At the same time the simple web sites worked with and without the FQDN as expected. Then removing (not disabling) the default web domain config relieved the wiki 404s. Adding a new default domain config back in (via just hitting the "+" and "Save") recreated the 404's for the previously working wikis with no change to the groups. Removing the system created default domain config it alleviated the 404s.
    Adding a system generated default and a 3rd FQDN re-created the issue and then afterwords, removing all but the FQDN that worked could not alleviate the 404s. Regardless of the permutation of turning things on and off, deleting groups, removing webservices settings, putting them back in, restarting the server.. nothing. 404-DOA
    While the mystery seems to be related to a very fragile relationship with DNS on the server, the solution is again to erase the disk and start over. Wikis in 10.5 thus far are neither a robust nor a stable solution from 10.5 thru 10.5.5 in my experience.

  • Advance Security manager 'Group App/Db access' issue

    It appears that ASM has some issues loading calc script lists - it appears to ignore the Parameter 'Access All Calculation=false' (followed by calc script list) and sets up the group with access to all calculations. Has anyone found a workaround for this? Or is there a latest/greatest version of ASM that this functionality works in?

    Take a look at the thread
    User access rights list
    It talks about getting security info, in particular Essbase security viewer. I did a search on the web and found this link to download it
    http://maxupload.com/F62683B4
    Note, I have not tried the version in the link, but looked at security viewer in the past and it looked pretty good

  • Making a clipping group with a compound path

    So, as of today I'm new to scripting for Illustrator, I'm using the ExtendScript Toolkit. However I'm not new to scripting my own solutions and I do have some experience with JavaScript already.
    What I'm trying to do is this: For all selected Items->Duplicate selected item and make a simple clipping group with it
    What I end up with visually doesn't change the picture, but gives me a lot of clipped colored areas which I then can edit in the isolated mode, allowing me far faster and better shading. Doing that by hand takes hours on some pictures, it'd take a second with a script.
    The script itself already perfectly works for normal PathItems. As obvious in the title, as soon as I have to apply the same to CompundPathItems things stop working. My issue is somewhat similar to this old thread [Problem with compound path clipping], but I couldn't find a solution there because I get different behavior.
    When I run the very same script that perfectly works with the normal PathItems with CompoundPathItems I get this: Error 9046: The top item in the group must be a path item to create a mask
    Well that's a problem. In the GUI there is absolutely no difference between making a clipping mask with a simple path and a compound path. The reference guide has frankly not helped me with this issue at all, the only thing I learned from that is that the CompoundPathItem object doesn't have a clipping attribute, but those included PathItems do.
    Here's what I have so far:
    if ( selected[i].typename == "PathItem" ) {
    var newGroup = doc.groupItems.add();
    copy = selected[i].duplicate(newGroup,ElementPlacement.PLACEATEND);
    selected[i].moveToBeginning(newGroup);
    newGroup.clipped = true;
    As I said, this part perfectly does what it's supposed to do for normal Paths.
    For CompoundPaths I use this workaround.
    if ( selected[i].typename == "CompoundPathItem" ) {
    var newGroup = doc.groupItems.add();
    copy = selected[i].duplicate(newGroup,ElementPlacement.PLACEATEND);
    selected[i].moveToBeginning(newGroup);
    compoundItems = selected[i].pathItems;
    compoundIndex = compoundItems.length;
    for ( f = 0; f < compoundIndex; f++ ) {compoundItems[f].clipping=true;}
    var lineList = new Array(10);
    for ( l = 0; l < lineList.length; l++ ) {lineList[l] = new Array( i * 10 + 50, ((i - 5) ^ 2) * 5 +50);}
    newPath = app.activeDocument.pathItems.add();
    newPath.setEntirePath(lineList);
    newPath.moveToBeginning(newGroup);
    newGroup.clipped = true;
    newPath.remove();
    Mind you, this workaround does work in so far that it bypasses that annoying and wrong error, and the Compound Clipping Path also works, with the only problem being that the Compound Clipping Path created like this is still displayed in its original colors in the Layers section, and is still selectable. When I lock the Compound Clipping Path I can work with it but still...
    So the question is, what am I missing here? Surely there must be a proper way to do this.

    app.executeMenuCommand()? That one eluded me so far, might be just the right thing. I'll definitely take a look, now just to find a ref on that, as unfortunately the official ref documents I have don't mention that command. Any place with a list of possible commands?
    Ah, also of course I'm not only doing it for the isolation mode. If you care to hear the background, here is it:
    As I said it's for shading the pictures I'm working on. I've iterated and tried through a bunch of techniques. For example gradient meshes on my first few real works. Now those meshes don't do well with complex shapes, which previously I alleviated by using a simple square or rectangle gradient mesh and using the original colored shape as a clipping mask. That did work, but it was a huge lot of work.
    After a bunch of attempts at that I went over to using simple gradients as a background for the shape and then I'm doing the shading freehand with the blob brush tool, using a graphic style and filters to make it look right. That's better, but properly making all the clipping masks takes me much longer than anything else.
    Now the problem is that the shading is not supposed to go over the lines, which is impossible to do properly without either messing up the order, or using clipping masks, hence the script. Because you know, if you use a blob brush with a strong Gaussian blur close to the lines you'll end up with stuff on both sides. If you don't start close to the line the shading won't look right if the darkest part of the shade needs to be close to the line. And that's where clipping masks do magic.
    And finally here's an example how I work with the script and the result:
    After I have traced a sketch, adjusted the line widths and everything to look neat I turn the paths to outline strokes and then make them into a live paint group (which would mess up the line widths, unless you turn the paths into outline strokes first).
    With that live paint group it takes me just a few minutes to flat color my piece. Then I expand the live paint group, in case of doubt spend some more minutes to make compound paths from all areas I need to shade in one piece, then I select all the areas and use my script to turn them into neat clipping masks. Then I can click any area, enter the isolation mode and go up one level so I'm in the appropriate group, where I can shade freely without the problem of going over the lines.
    At the end that allows me to apply a complex and in-depth shading, without wasting any time to get there.
    PS: Well, I just found out that Draw Inside is pretty darn close to what I want to do, and oddly enough it produces the same visual discrepancy with compound paths that my script produces. I'll be taking a closer look at that, though my script does a little more than just the clipping mask stuff, so maybe I'll go for a hybrid solution. Whatever makes for a better workflow.

  • Will Removal of sharepoint members group leads to access issues?

    Hi,
    we have a sharepoint 2013 site collection with 10 sub sites. On the top level I have members group with contribute permissions.
    Due to some rules of organization, we created 3 different sharepoint groups giving contribute permissions at top level and added all the people from members group to these 3 groups based on some characteristics. After that we removed members group.
    Since then when any one tries to log into the site, They are getting access required error.
    If I add the members group back to the site, They are able to access.
    My question is when the same person is already in one of the 3 groups with same contribute permissions at the top site level, How the removal of members group is leading to access issues?
    Please guide me.
    Regards 
    Chaitanya.

    Hi Chaitanya,
    As Vishal said, you need to check the issue occurs with which content in the site collection when the users try to access.
    The issue may be due to that the content the users try to access has stopped inheritance from its parent and the newly created groups have no permission on the content.
    In most scenarios, the Site Members group will have permission on most items even when the items have unique permissions(Stop inheritance from its parent).
    When the Site Members group has been removed and the new groups have no permission on those items, then the users in the new groups will get Access Denied error.
    I recommend to use Site collection administrator account to check the permission on the item where users get access denied error.
    And grant permission to the new groups on those items.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Can not update itunes.  Error of missing file itunes64.msi

    I am trying to update my iTunes software to version 11.0.1.  I am running windows 7.  I get an error message itunes64.msi is missing.  (within the message it says the feature is on a network that is unavailable).  When I google it there are many refe

  • System Table EDID4 Cleanup in SAP BW

    We've had short dumps recently on the EDID4 table in SAP BW.  We have 45 million rows in this table right now.  Does anyone have any information on what the EDID4 table is for?  Also, any way to clean up the table? I believe the table has to do with

  • Why does it take Firefox longer to come up than explorer or chrome?

    Every time you update Firefox I have this problem. I can load Internet Explorer or Google Chrome as soon as I click on them, but it always takes Firefox at least 5 minutes to load. And it always says a script is busy or has stopped responding. It doe

  • Opening a txt file in my application

    Hi all, I am doing a desktop application.My application consist of a Jframe containing a Jtextarea and a Jbutton.what my app does is , it just writes the content of the jtextarea into a txt file and saves it with someother extension.Now on double cli

  • Typing Chinese

    Ok long story short, for various business purposes I need to type Chinese. I know you are able to do this on a Word document, but I have IWork instead (because Apple is just better like that). Anyways is there a way to switch my settings so I can typ